freebsd-dev/tests/sys
David Bright 9afb12bab4 Add an shm_rename syscall
Add an atomic shm rename operation, similar in spirit to a file
rename. Atomically unlink an shm from a source path and link it to a
destination path. If an existing shm is linked at the destination
path, unlink it as part of the same atomic operation. The caller needs
the same permissions as shm_unlink to the shm being renamed, and the
same permissions for the shm at the destination which is being
unlinked, if it exists. If those fail, EACCES is returned, as with the
other shm_* syscalls.

truss support is included; audit support will come later.

This commit includes only the implementation; the sysent-generated
bits will come in a follow-on commit.

Submitted by:	Matthew Bryan <matthew.bryan@isilon.com>
Reviewed by:	jilles (earlier revision)
Reviewed by:	brueffer (manpages, earlier revision)
Relnotes:	yes
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D21423
2019-09-26 15:32:28 +00:00
..
acl Set required program for all acl tests 2019-09-05 18:54:46 +00:00
aio Revert r337929 2018-08-16 22:04:00 +00:00
audit Fix and simplify code by using ATF_REQUIRE_FEATURE macro 2019-04-01 14:21:32 +00:00
auditpipe Introduce test program for auditpipe(4) 2018-07-26 00:16:41 +00:00
capsicum Integrate capsicum-test into the FreeBSD test suite 2019-04-01 21:24:50 +00:00
cddl Remove duplicate ${PACKAGE}FILES+= cleanup.ksh line 2019-03-16 03:37:47 +00:00
common pkgbase: Put the sys/common test into the tests package 2019-09-05 14:14:07 +00:00
devrandom random(4): Fortuna: allow increased concurrency 2019-06-17 20:29:13 +00:00
fifo
file Revert r337929 2018-08-16 22:04:00 +00:00
fs fusefs: initialize C++ classes the Coverity way 2019-09-16 15:56:21 +00:00
geom Remove tests for the deprecated algorithms in r348206 2019-05-31 04:29:29 +00:00
kern Add SPDX tags to recently added files 2019-09-25 22:53:30 +00:00
kqueue Temporarily skip flakey test cases 2018-12-06 09:22:35 +00:00
mac
mqueue
net Add test cases for epair 2019-06-13 05:05:58 +00:00
netinet Skip sys.netinet.socket_afinet.socket_afinet_bind_zero temporarily because it 2019-06-23 19:37:12 +00:00
netipsec ipsec tests: Skip if ipsec.ko is not loaded 2019-05-16 02:18:57 +00:00
netmap netmap: add test cases for multiple host rings 2019-04-13 12:50:47 +00:00
netpfil Temporarily skip sys.netpfil.common.tos.pf_tos on i386 CI as it always fails 2019-09-17 22:09:14 +00:00
opencrypto tests/sys/opencrypto: enable armv8crypto on aarch64 2019-08-10 15:53:42 +00:00
pjdfstest
posixshm Add an shm_rename syscall 2019-09-26 15:32:28 +00:00
sys Introduce arb(3), the Array-based Red-Black Tree macros: similar 2019-09-14 19:23:46 +00:00
vfs
vm Add some tests for page fault signals and codes 2019-09-18 21:00:32 +00:00
Makefile random(4): Add regression tests for uint128 implementation, Chacha CTR 2019-06-17 14:59:45 +00:00
Makefile.depend
Makefile.inc