Searched refs:CAP_SYS_ADMIN (Results 1 – 25 of 27) sorted by relevance
12
/third_party/ltp/testcases/kernel/security/cap_bound/ |
D | cap_bset_inh_bounds.c | 53 ret = prctl(PR_CAPBSET_READ, CAP_SYS_ADMIN); in main() 75 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main() 82 ret = prctl(PR_CAPBSET_DROP, CAP_SYS_ADMIN); in main() 92 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main() 102 v[0] = CAP_SYS_ADMIN; in main()
|
D | exec_without_inh.c | 53 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main() 55 v[0] = CAP_SYS_ADMIN; in main() 71 ret = prctl(PR_CAPBSET_DROP, CAP_SYS_ADMIN); in main()
|
D | exec_with_inh.c | 67 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main() 74 ret = prctl(PR_CAPBSET_DROP, CAP_SYS_ADMIN); in main()
|
D | check_pe.c | 60 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_EFFECTIVE, &f); in main()
|
/third_party/ltp/include/lapi/ |
D | capability.h | 31 #ifndef CAP_SYS_ADMIN 32 # define CAP_SYS_ADMIN 21 macro
|
/third_party/e2fsprogs/scrub/ |
D | e2scrub_reap.service.in | 3 ConditionCapability=CAP_SYS_ADMIN 14 AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
|
D | e2scrub_all.service.in | 4 ConditionCapability=CAP_SYS_ADMIN
|
D | e2scrub@.service.in | 13 AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
D | cap.c | 41 CAP_NET_BROADCAST, CAP_NET_ADMIN, CAP_NET_RAW, CAP_SYS_PTRACE, CAP_SYS_ADMIN, 102 case CAP_SYS_ADMIN: in linux_caps_to_ohos() 177 result |= 1 << CAP_SYS_ADMIN; in ohos_caps_to_linux()
|
/third_party/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl09.c | 47 .id = CAP_SYS_ADMIN, 53 .id = CAP_SYS_ADMIN,
|
D | quotactl06.c | 73 .id = CAP_SYS_ADMIN, 79 .id = CAP_SYS_ADMIN,
|
/third_party/ltp/lib/newlib_tests/ |
D | tst_capability02.c | 32 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
/third_party/ltp/testcases/kernel/syscalls/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_prog05.c | 200 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/kernel/syscalls/pivot_root/ |
D | pivot_root01.c | 80 cap_value_t cap_value[] = { CAP_SYS_ADMIN }; in drop_cap_sys_admin()
|
/third_party/ltp/testcases/network/can/filter-tests/ |
D | can_rcv_own_msgs.c | 145 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
D | can_filter.c | 183 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
/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/security/filecaps/ |
D | README | 25 loaded, or CAP_SYS_ADMIN when it is not.
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl02.c | 191 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
|
/third_party/e2fsprogs/contrib/android/ |
D | dac_config.cpp | 102 { "CAP_SYS_ADMIN", CAP_SYS_ADMIN },
|
/third_party/e2fsprogs/doc/RelNotes/ |
D | v1.45.1.txt | 51 Mark the e2scrub service files to indicate that CAP_SYS_ADMIN and
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 1846 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN), 1852 Here we request 'CAP_NET_RAW', but drop 'CAP_SYS_ADMIN'. If the capability is
|
12