freebsd-dev/tests/sys
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
..
acl tests/sys/acl: Add ATF C test for newly added acl_* functions. 2021-08-27 11:52:21 +03:00
aio aio_test: Validate interactions between AIO on sockets and shutdown(2) 2021-09-17 14:19:06 -04:00
audit tests/sys/audit: add missing comma delimiter between fields 2021-03-02 18:37:12 +00:00
auditpipe Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
capsicum Fix MK_TESTS build with MK_ASAN/MK_UBSAN 2021-08-02 14:33:24 +01:00
cddl tests/sys/cddl: correctly quote atf_set "require.progs" 2021-03-08 09:38:27 +00:00
common pf tests: test ALTQ CBQ on top of if_vlan 2021-08-25 08:57:10 +02:00
devrandom Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
fifo Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests. 2020-05-20 17:48:18 +00:00
file vfs: Permit unix sockets to be opened with O_PATH 2021-09-17 14:19:06 -04:00
fs Silence more gtest warnings, now in fusefs tests 2021-08-27 23:39:36 +02:00
geom Add a regression test for ggatec remote code execution 2021-08-27 14:52:45 -06:00
kern Unbreak MSG_CMSG_CLOEXEC 2021-03-18 20:52:20 +00:00
kqueue Add a test for https://reviews.freebsd.org/D31858 (PR 258310) 2021-09-13 10:16:05 +01:00
mac Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests 2020-05-02 20:14:59 +00:00
mqueue Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
net bridge tests: verify that we can't change MTU of bridge member interfaces 2021-07-28 22:03:38 +02:00
netgraph tests/netgraph: Check for PR241954 2021-06-13 22:29:56 +02:00
netinet netinet tests: delete an interface with pending lookups 2021-08-17 17:01:21 +02:00
netinet6 tests: Only log critical errors from scapy 2021-05-12 20:54:30 +02:00
netipsec ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
netmap netmap: update unit tests with libnetmap tests 2021-04-02 14:39:30 +00:00
netpfil pf tests: synproxy to localhost test 2021-09-10 15:16:37 +02:00
opencrypto cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused 2021-05-06 16:34:55 -06:00
pjdfstest Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
posixshm posixshmtest: Fix various warnings raised by GCC. 2021-09-15 09:03:18 -07:00
sys bitstring(3): Add bitstring traversal macros. 2021-08-16 23:24:05 +03:00
vfs tests/sys/vfs/lookup_cap_dotdot: No longer aborts after ATF update 2021-02-04 17:57:27 +00:00
vm shared shadow vm object invalidation regression test 2021-04-07 12:39:05 -07:00
vmm vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
Makefile vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00