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 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 Make test scripts under tests/... non-executable 2017-08-08 04:59:16 +00:00
fspacectl_test.c Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
ftruncate_test.c Tweak r319058 slightly 2017-05-28 17:50:29 +00:00
Makefile Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
newfileops_on_fork_test.c Allow changing the test PORT at compile-time. 2017-07-31 22:00:27 +00:00
path_test.c vfs: Permit unix sockets to be opened with O_PATH 2021-09-17 14:19:06 -04:00