]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (test_mkfds::netlink) pass a correct file descriptor to bind(2)
authorMasatake YAMATO <yamato@redhat.com>
Tue, 2 Apr 2024 15:01:27 +0000 (00:01 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Tue, 2 Apr 2024 15:01:27 +0000 (00:01 +0900)
commitacdba9c454506cdd29ac400df3f72bde4c74647d
tree422429e005d492df9d92ded2cace7e50244c1d1b
parent20a740eb7c19d9bb343a8ca927d1c27402a1da5c
tests: (test_mkfds::netlink) pass a correct file descriptor to bind(2)

Close #2901

The original code passed a closed file descriptor to bind(2).

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c