Home
last modified time | relevance | path

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

/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.c52 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
54 v[0] = CAP_SYS_ADMIN; in main()
70 ret = prctl(PR_CAPBSET_DROP, CAP_SYS_ADMIN); in main()
Dexec_with_inh.c66 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
73 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/libchrome/sandbox/linux/system_headers/
Dcapability.h27 #ifndef CAP_SYS_ADMIN
28 #define CAP_SYS_ADMIN 21 macro
/external/strace/
Dcaps0.h22 CAP_SYS_ADMIN,
/external/strace/xlat/
Dcap_mask0.in23 1<<CAP_SYS_ADMIN
Dcap.in23 CAP_SYS_ADMIN
Dcap_mask0.h32 XLAT_PAIR(1ULL<<CAP_SYS_ADMIN, "1<<CAP_SYS_ADMIN"),
Dcap.h32 XLAT(CAP_SYS_ADMIN),
/external/libcap-ng/libcap-ng-0.7/src/
Dcaptab.h44 _S(CAP_SYS_ADMIN, "sys_admin" )
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py91 CAP_SYS_ADMIN = _capng.CAP_SYS_ADMIN variable
/external/kernel-headers/original/uapi/linux/
Dcapability.h261 #define CAP_SYS_ADMIN 21 macro
/external/libcap/libcap/include/uapi/linux/
Dcapability.h263 #define CAP_SYS_ADMIN 21 macro
/external/ltp/testcases/kernel/security/filecaps/
DREADME25 loaded, or CAP_SYS_ADMIN when it is not.
/external/libchrome/sandbox/linux/services/
Dcredentials.cc146 return CAP_SYS_ADMIN; in CapabilityToKernelValue()
/external/selinux/policycoreutils/newrole/
Dnewrole.c609 …capng_updatev(CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED, CAP_SYS_ADMIN , CAP_FOWNER , CAP_CHOWN… in drop_capabilities()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c4866 const cap_value_t cap_val = CAP_SYS_ADMIN; in is_admin()
4889 const cap_value_t cap_val = CAP_SYS_ADMIN; in set_admin()