opnsense-src/tests/sys/file
Mark Johnston 54a01b5326 vfs: Permit unix sockets to be opened with O_PATH
As with FIFOs, a path descriptor for a unix socket cannot be used with
kevent().

In principle connectat(2) and bindat(2) could be modified to support an
AT_EMPTY_PATH-like mode which operates on the socket referenced by an
O_PATH fd referencing a unix socket.  That would eliminate the path
length limit imposed by sockaddr_un.

Update O_PATH tests.

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 2bd9826995)
2021-10-17 17:15:44 -04:00
..
closefrom_test.c close_range/closefrom: fix regression from close_range introduction 2020-04-13 17:55:31 +00:00
dup_test.c Revert r337929 2018-08-16 22:04:00 +00:00
fcntlflags_test.c
flock_helper.c Revert r337929 2018-08-16 22:04:00 +00:00
flock_test.sh
ftruncate_test.c
Makefile Add some regression tests for O_PATH and AT_EMPTY_PATH 2021-04-29 10:22:43 -04:00
Makefile.depend
newfileops_on_fork_test.c
path_test.c vfs: Permit unix sockets to be opened with O_PATH 2021-10-17 17:15:44 -04:00