freebsd-src/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 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
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