diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2021-11-30 10:55:36 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-30 20:55:17 +0100 |
commit | 103a52a1b09991d88ff38991b6b6837a1dd0a1ab (patch) | |
tree | 05f7ab9137aa0408bdba000244c01073631310fa /input/packet/ulogd_inppkt_ULOG.c | |
parent | ae3d0f59e2d1962d2a8f97dfb3e05b32ca11ea82 (diff) |
input: UNIXSOCK: remove stat of socket-path
When creating the UNIX socket, there is a TOCTOU race between the
stat(2) and bind(2) calls, and if the path is already bound, the bind(2)
call will fail in any case. Remove the stat(2) call.
Tidy up a couple of error message.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'input/packet/ulogd_inppkt_ULOG.c')
0 files changed, 0 insertions, 0 deletions