Searched refs:tst_cap (Results 1 – 23 of 23) sorted by relevance
/third_party/ltp/lib/ |
D | tst_capability.c | 26 static void do_cap_drop(uint32_t *set, uint32_t mask, const struct tst_cap *cap) in do_cap_drop() 35 const struct tst_cap *cap) in do_cap_req() 46 void tst_cap_action(struct tst_cap *cap) in tst_cap_action() 82 void tst_cap_setup(struct tst_cap *caps, unsigned int action_mask) in tst_cap_setup() 84 struct tst_cap *cap; in tst_cap_setup()
|
/third_party/ltp/include/ |
D | tst_capability.h | 34 struct tst_cap { struct 70 void tst_cap_action(struct tst_cap *cap); 81 void tst_cap_setup(struct tst_cap *cap, unsigned int action_mask);
|
D | tst_test.h | 274 struct tst_cap *caps;
|
/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/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/quotactl/ |
D | quotactl09.c | 45 static struct tst_cap dropadmin = { 51 static struct tst_cap needadmin = {
|
D | quotactl06.c | 71 static struct tst_cap dropadmin = { 77 static struct tst_cap needadmin = {
|
/third_party/ltp/lib/newlib_tests/ |
D | tst_capability02.c | 29 .caps = (struct tst_cap []) {
|
D | tst_capability01.c | 47 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/settimeofday/ |
D | settimeofday02.c | 45 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/capget/ |
D | capget01.c | 53 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl37.c | 93 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/bpf/ |
D | bpf_prog04.c | 114 .caps = (struct tst_cap []) {
|
D | bpf_prog02.c | 113 .caps = (struct tst_cap []) {
|
D | bpf_prog05.c | 199 .caps = (struct tst_cap []) {
|
D | bpf_prog03.c | 151 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/network/can/filter-tests/ |
D | can_rcv_own_msgs.c | 143 .caps = (struct tst_cap []) {
|
D | can_filter.c | 181 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/close_range/ |
D | close_range01.c | 199 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl02.c | 190 .caps = (struct tst_cap []) {
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring02.c | 254 .caps = (struct tst_cap []) {
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 1827 .caps = (struct tst_cap []) { 1836 a 'NULL' terminated array containing two 'tst_cap' structs. 'TST_CAP_REQ' 1844 .caps = (struct tst_cap []) { 1863 tst_cap *cap)' directly which can be called at any time. This also helps if
|