Searched refs:TST_CAP (Results 1 – 19 of 19) sorted by relevance
/third_party/ltp/lib/newlib_tests/ |
D | tst_capability02.c | 30 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),
|
D | tst_capability01.c | 48 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/ |
D | init_module02.c | 28 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/ |
D | open_by_handle_at02.c | 23 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/ |
D | bpf_prog05.c | 200 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN), 201 TST_CAP(TST_CAP_DROP, CAP_BPF),
|
D | bpf_prog04.c | 115 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
D | bpf_prog02.c | 114 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
D | bpf_prog03.c | 152 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
/third_party/ltp/testcases/network/can/filter-tests/ |
D | can_rcv_own_msgs.c | 144 TST_CAP(TST_CAP_REQ, CAP_NET_RAW), 145 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
D | can_filter.c | 182 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/ |
D | finit_module02.c | 30 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/ |
D | prctl02.c | 191 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN), 192 TST_CAP(TST_CAP_DROP, CAP_SETPCAP),
|
/third_party/ltp/include/ |
D | tst_capability.h | 21 #define TST_CAP(action, capability) {action, capability, #capability} macro
|
/third_party/ltp/testcases/kernel/syscalls/settimeofday/ |
D | settimeofday02.c | 46 TST_CAP(TST_CAP_DROP, CAP_SYS_TIME),
|
/third_party/ltp/testcases/kernel/syscalls/capget/ |
D | capget01.c | 54 TST_CAP(TST_CAP_DROP, CAP_NET_RAW),
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl37.c | 94 TST_CAP(TST_CAP_DROP, CAP_SYS_RESOURCE),
|
/third_party/ltp/testcases/kernel/syscalls/close_range/ |
D | close_range01.c | 200 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring02.c | 255 TST_CAP(TST_CAP_REQ, CAP_SYS_CHROOT),
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 1828 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),
|