Home
last modified time | relevance | path

Searched refs:TST_CAP (Results 1 – 19 of 19) sorted by relevance

/third_party/ltp/lib/newlib_tests/
Dtst_capability02.c30 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
31 TST_CAP(TST_CAP_DROP, CAP_AUDIT_READ), /* 64bit capability */
32 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
Dtst_capability01.c48 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
49 TST_CAP(TST_CAP_DROP, CAP_NET_RAW),
/third_party/ltp/testcases/kernel/syscalls/init_module/
Dinit_module02.c28 static struct tst_cap cap_req = TST_CAP(TST_CAP_REQ, CAP_SYS_MODULE);
29 static struct tst_cap cap_drop = TST_CAP(TST_CAP_DROP, CAP_SYS_MODULE);
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
Dopen_by_handle_at02.c23 static struct tst_cap cap_req = TST_CAP(TST_CAP_REQ, CAP_DAC_READ_SEARCH);
24 static struct tst_cap cap_drop = TST_CAP(TST_CAP_DROP, CAP_DAC_READ_SEARCH);
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog05.c200 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
201 TST_CAP(TST_CAP_DROP, CAP_BPF),
Dbpf_prog04.c115 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
Dbpf_prog02.c114 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
Dbpf_prog03.c152 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
/third_party/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c144 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
145 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
Dcan_filter.c182 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
183 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
/third_party/ltp/testcases/kernel/syscalls/finit_module/
Dfinit_module02.c30 static struct tst_cap cap_req = TST_CAP(TST_CAP_REQ, CAP_SYS_MODULE);
31 static struct tst_cap cap_drop = TST_CAP(TST_CAP_DROP, CAP_SYS_MODULE);
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl02.c191 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
192 TST_CAP(TST_CAP_DROP, CAP_SETPCAP),
/third_party/ltp/include/
Dtst_capability.h21 #define TST_CAP(action, capability) {action, capability, #capability} macro
/third_party/ltp/testcases/kernel/syscalls/settimeofday/
Dsettimeofday02.c46 TST_CAP(TST_CAP_DROP, CAP_SYS_TIME),
/third_party/ltp/testcases/kernel/syscalls/capget/
Dcapget01.c54 TST_CAP(TST_CAP_DROP, CAP_NET_RAW),
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl37.c94 TST_CAP(TST_CAP_DROP, CAP_SYS_RESOURCE),
/third_party/ltp/testcases/kernel/syscalls/close_range/
Dclose_range01.c200 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
/third_party/ltp/testcases/kernel/syscalls/io_uring/
Dio_uring02.c255 TST_CAP(TST_CAP_REQ, CAP_SYS_CHROOT),
/third_party/ltp/doc/
Dc-test-api.txt1828 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
1829 TST_CAP(TST_CAP_DROP, CAP_NET_RAW),
1845 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
1846 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),