diff options
author | ed <ed@FreeBSD.org> | 2015-07-29 12:42:45 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2015-07-29 12:42:45 +0000 |
commit | 0a5168e81f69b5fdc789ef0aae0eb78e3455bc62 (patch) | |
tree | 3078a3f1df2c1905b92d4c9cff68a63edb55f901 /tests/sys/kern/unix_seqpacket_test.c | |
parent | db4e25a0157b8dfac6acb552a3e11b7504065191 (diff) | |
download | FreeBSD-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