freebsd-dev/tests/sys/file
Mark Johnston 2bd9826995 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
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D31970
2021-09-17 14:19:06 -04:00
..
closefrom_test.c
dup_test.c
fcntlflags_test.c
flock_helper.c
flock_test.sh
fspacectl_test.c Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
ftruncate_test.c
Makefile Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
Makefile.depend
newfileops_on_fork_test.c
path_test.c vfs: Permit unix sockets to be opened with O_PATH 2021-09-17 14:19:06 -04:00