Home
last modified time | relevance | path

Searched refs:tst_cap (Results 1 – 23 of 23) sorted by relevance

/third_party/ltp/lib/
Dtst_capability.c26 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/
Dtst_capability.h34 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);
Dtst_test.h274 struct tst_cap *caps;
/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/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/quotactl/
Dquotactl09.c45 static struct tst_cap dropadmin = {
51 static struct tst_cap needadmin = {
Dquotactl06.c71 static struct tst_cap dropadmin = {
77 static struct tst_cap needadmin = {
/third_party/ltp/lib/newlib_tests/
Dtst_capability02.c29 .caps = (struct tst_cap []) {
Dtst_capability01.c47 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/settimeofday/
Dsettimeofday02.c45 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/capget/
Dcapget01.c53 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl37.c93 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog04.c114 .caps = (struct tst_cap []) {
Dbpf_prog02.c113 .caps = (struct tst_cap []) {
Dbpf_prog05.c199 .caps = (struct tst_cap []) {
Dbpf_prog03.c151 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c143 .caps = (struct tst_cap []) {
Dcan_filter.c181 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/close_range/
Dclose_range01.c199 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl02.c190 .caps = (struct tst_cap []) {
/third_party/ltp/testcases/kernel/syscalls/io_uring/
Dio_uring02.c254 .caps = (struct tst_cap []) {
/third_party/ltp/doc/
Dc-test-api.txt1827 .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