Home
last modified time | relevance | path

Searched refs:cap_rights_clear (Results 1 – 16 of 16) sorted by relevance

/freebsd/lib/libsysdecode/tests/
H A Dsysdecode_test.c132 cap_rights_clear(&rights, CAP_SEEK_TELL); in ATF_TC_BODY()
138 cap_rights_clear(&rights, CAP_SEEK_TELL); in ATF_TC_BODY()
/freebsd/bin/cat/
H A Dcat.c502 cap_rights_clear(&rights, CAP_WRITE); in udom_open()
507 cap_rights_clear(&rights, CAP_READ); in udom_open()
515 cap_rights_clear(&rights, CAP_CONNECT, CAP_SHUTDOWN); in udom_open()
/freebsd/lib/libc/capability/
H A DMakefile.inc11 MLINKS+=cap_rights_init.3 cap_rights_clear.3
/freebsd/contrib/capsicum-test/
H A Dioctl.cc92 cap_rights_clear(&rights, CAP_READ); in TEST()
100 cap_rights_clear(&rights, CAP_IOCTL); in TEST()
H A Dcapsicum-rights.h41 #define cap_rights_clear(rights, ...) _cap_rights_clear((rights), __VA_ARGS__, 0ULL) macro
H A Dfcntl.cc306 cap_rights_clear(&rights, CAP_READ); in TEST()
312 cap_rights_clear(&rights, CAP_FCNTL); in TEST()
H A Dsctp.cc75 cap_rights_clear(&r_all_nopeel, CAP_PEELOFF); in TEST()
H A Dcapability-fd.cc174 cap_rights_clear(&rights, known_rights[ii].right); in ShowCapRights()
1356 cap_rights_clear(&rights, known_rights[ii].right); in TEST()
/freebsd/tools/regression/capsicum/syscalls/
H A Dcap_ioctls_limit.c140 cap_rights_clear(&rights, CAP_IOCTL); in ioctl_tests_1()
179 cap_rights_clear(&rights, CAP_IOCTL); in ioctl_tests_2()
H A Dcap_fcntls_limit.c164 cap_rights_clear(&rights, CAP_FCNTL); in fcntl_tests_1()
211 cap_rights_clear(&rights, CAP_FCNTL); in fcntl_tests_2()
/freebsd/sys/sys/
H A Dcapsicum.h331 #define cap_rights_clear(...) \ macro
/freebsd/bin/dd/
H A Ddd.c198 cap_rights_clear(&rights, CAP_READ); in setup()
/freebsd/lib/libsysdecode/
H A Dflags.c1029 cap_rights_clear(&diff, t->val); in sysdecode_cap_rights()
/freebsd/usr.sbin/bhyve/
H A Dblock_if.c568 cap_rights_clear(&rights, CAP_FSYNC, CAP_WRITE); in blockif_open()
/freebsd/sbin/ping/
H A Dping6.c1103 cap_rights_clear(&rights_srecv, CAP_SETSOCKOPT); in ping6()
1106 cap_rights_clear(&rights_ssend, CAP_SETSOCKOPT); in ping6()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc8417 #define CAP_RIGHTS_CLEAR_INTERCEPTOR(cap_rights_clear, rights, ...) \
8420 COMMON_INTERCEPTOR_ENTER(ctx, cap_rights_clear, rights, ##__VA_ARGS__); \
8424 REAL(cap_rights_clear)(rights, ##__VA_ARGS__); \
8449 INTERCEPTOR(__sanitizer_cap_rights_t *, cap_rights_clear,
8451 CAP_RIGHTS_CLEAR_INTERCEPTOR(cap_rights_clear, rights);
8549 COMMON_INTERCEPT_FUNCTION(cap_rights_clear); \