/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

  • Committer: Teddy Hogeborn
  • Date: 2024-11-17 16:53:00 UTC
  • Revision ID: teddy@recompile.se-20241117165300-02hxm96s8cj9528e
mandos: Avoid closing configured server network socket

If we are passed a pre-created created network socket as a file
descriptor, we must avoid later closing it (when stdin, stdout and
stderr are dup2()ed over with /dev/null) by making sure that the
network file descriptor is not 0, 1, or 2, by creating a new file
descriptor if necessary.

However, when we create a new file descriptor we must check that the
new file descriptor is not 0, 1, or 2 either, and try again until we
get a suitable file descriptor.
Filename Latest Rev Last Changed Committer Comment Size
..
File bridge 237.7.471 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 2 KB Diff Download File
bridge.conf 237.17.8 12 years ago teddy at recompile * network-hooks.s/bridge: Don't use interface name 189 bytes Diff Download File
File openvpn 237.7.471 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 1.4 KB Diff Download File
openvpn.conf 237.16.26 13 years ago teddy at bsnet * network-hooks.d/openvpn: Tolerate relative MANDO 291 bytes Diff Download File
File wireless 237.7.471 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 4 KB Diff Download File
wireless.conf 237.17.8 12 years ago teddy at recompile * network-hooks.s/bridge: Don't use interface name 611 bytes Diff Download File