summaryrefslogtreecommitdiffstats
path: root/tests/sys/kern/unix_seqpacket_test.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-07-29 12:42:45 +0000
committered <ed@FreeBSD.org>2015-07-29 12:42:45 +0000
commit0a5168e81f69b5fdc789ef0aae0eb78e3455bc62 (patch)
tree3078a3f1df2c1905b92d4c9cff68a63edb55f901 /tests/sys/kern/unix_seqpacket_test.c
parentdb4e25a0157b8dfac6acb552a3e11b7504065191 (diff)
downloadFreeBSD-src-0a5168e81f69b5fdc789ef0aae0eb78e3455bc62.zip
FreeBSD-src-0a5168e81f69b5fdc789ef0aae0eb78e3455bc62.tar.gz
Split up Capsicum to CloudABI rights conversion into two separate routines.
CloudABI's openat() ensures that files are opened with the smallest set of relevant rights. For example, when opening a FIFO, unrelated rights like CAP_RECV are automatically removed. To remove unrelated rights, we can just reuse the code for this that was already present in the rights conversion function.
Diffstat (limited to 'tests/sys/kern/unix_seqpacket_test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud