Home
last modified time | relevance | path

Searched refs:CAP_SYS_ADMIN (Results 1 – 25 of 43) sorted by relevance

12

/external/ltp/testcases/kernel/security/cap_bound/
Dcap_bset_inh_bounds.c53 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()
Dexec_without_inh.c53 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()
Dexec_with_inh.c67 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
74 ret = prctl(PR_CAPBSET_DROP, CAP_SYS_ADMIN); in main()
Dcheck_pe.c60 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_EFFECTIVE, &f); in main()
/external/linux-kselftest/tools/testing/selftests/landlock/
Dfs_test.c166 set_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout()
170 clear_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout()
175 set_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout()
177 clear_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout()
196 set_cap(_metadata, CAP_SYS_ADMIN); in create_layout1()
198 clear_cap(_metadata, CAP_SYS_ADMIN); in create_layout1()
218 set_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1()
220 clear_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1()
1251 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK()
1256 clear_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK()
[all …]
/external/ltp/include/lapi/
Dcapability.h35 #ifndef CAP_SYS_ADMIN
36 # define CAP_SYS_ADMIN 21 macro
/external/e2fsprogs/scrub/
De2scrub_reap.service.in3 ConditionCapability=CAP_SYS_ADMIN
14 AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
De2scrub_all.service.in4 ConditionCapability=CAP_SYS_ADMIN
De2scrub@.service.in13 AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
/external/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl09.c47 .id = CAP_SYS_ADMIN,
53 .id = CAP_SYS_ADMIN,
Dquotactl06.c74 .id = CAP_SYS_ADMIN,
80 .id = CAP_SYS_ADMIN,
/external/ltp/lib/newlib_tests/
Dtst_capability02.c32 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
/external/strace/
Dcaps0.h22 CAP_SYS_ADMIN,
/external/strace/xlat/
Dcap_mask0.in23 1<<CAP_SYS_ADMIN
Dcap.in23 CAP_SYS_ADMIN
Dcap_mask0.h38 XLAT_PAIR(1ULL<<CAP_SYS_ADMIN, "1<<CAP_SYS_ADMIN"),
Dcap.h38 XLAT(CAP_SYS_ADMIN),
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py91 CAP_SYS_ADMIN = _capng.CAP_SYS_ADMIN variable
/external/libcap-ng/libcap-ng-0.7/src/
Dcaptab.h44 _S(CAP_SYS_ADMIN, "sys_admin" )
/external/libcap/libcap/include/uapi/linux/
Dcapability.h278 #define CAP_SYS_ADMIN 21 macro
/external/kernel-headers/original/uapi/linux/
Dcapability.h278 #define CAP_SYS_ADMIN 21 macro
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog04.c115 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
Dbpf_prog06.c141 TST_CAP(TST_CAP_DROP, CAP_SYS_ADMIN),
/external/libcap/doc/values/
D39.txt26 - CAP_SYS_ADMIN permits the following:
/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c78 cap_value_t cap_value[] = { CAP_SYS_ADMIN }; in drop_cap_sys_admin()

12