diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-05-18 13:22:41 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-05-20 01:22:17 +0200 |
| commit | 1d16476b7de00bd5bd77b90955520a79bbec48e6 (patch) | |
| tree | 75043d501aff616d6be87f14c9ec0a57bf7f8325 /test | |
| parent | db798fc60f4c5869cb53168354e068fb4dabd91a (diff) | |
| download | passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.tar passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.tar.gz passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.tar.bz2 passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.tar.lz passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.tar.xz passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.tar.zst passt-1d16476b7de00bd5bd77b90955520a79bbec48e6.zip | |
treewide: Add SOCK_CLOEXEC to accept() calls that are missing it
Generally we try to set the O_CLOEXEC flag on every fd we create. This
seems to be generally accepted security best practice these days, and we
never exec(), so certainly have no need to pass fds to exec()ed processes.
A handful of accept4() calls on Unix sockets are missing the SOCK_CLOEXEC
flag to set this though. Add the missing flag.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
