Home
last modified time | relevance | path

Searched refs:CAP_INHERITABLE (Results 1 – 12 of 12) sorted by relevance

/external/libcap/libcap/
Dcap_file.c78 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
84 = result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
89 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
146 || cap_d->u[i].flat[CAP_INHERITABLE] in _fcaps_save()
161 = FIXUP_32BITS(cap_d->u[i].flat[CAP_INHERITABLE]); in _fcaps_save()
166 | cap_d->u[i].flat[CAP_INHERITABLE]))) { in _fcaps_save()
Dcap_text.c154 _cap_debugcap("i = ", *res, CAP_INHERITABLE); in cap_from_text()
222 clrbits(res, list, CAP_INHERITABLE, cap_blks); in cap_from_text()
232 setbits(res, list, CAP_INHERITABLE, cap_blks); in cap_from_text()
241 clrbits(res, list, CAP_INHERITABLE, cap_blks); in cap_from_text()
317 if (isset_cap(caps, capno, CAP_INHERITABLE)) { in getstateflags()
359 _cap_debugcap("i = ", *caps, CAP_INHERITABLE); in cap_to_text()
Dcap_flag.c105 case CAP_INHERITABLE: in cap_clear_flag()
144 | ((a->u[i].flat[CAP_INHERITABLE] != b->u[i].flat[CAP_INHERITABLE]) in cap_compare()
Dlibcap.h149 #define LIBCAP_INH (1 << CAP_INHERITABLE)
/external/ltp/testcases/kernel/security/cap_bound/
Dcap_bset_inh_bounds.c75 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
92 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
103 ret = cap_set_flag(tmpcap, CAP_INHERITABLE, 1, v, CAP_CLEAR); in main()
Dexec_without_inh.c52 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
55 ret = cap_set_flag(cur, CAP_INHERITABLE, 1, v, CAP_CLEAR); in main()
Dexec_with_inh.c66 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
/external/libcap/progs/
Dsetcap.c144 CAP_DIFFERS(cmp, CAP_INHERITABLE) ? "i" : "", in main()
184 cap_get_flag(cap_d, cap, CAP_INHERITABLE, &inh_state); in main()
Dcapsh.c135 if (cap_clear_flag(all, CAP_INHERITABLE) != 0) { in main()
/external/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c289 cap_set_flag(cap_fullpi, CAP_INHERITABLE, 1, capvalue, CAP_SET); in caps_actually_set_test()
325 cap_set_flag(fcap, CAP_INHERITABLE, 1, capvalue, CAP_SET); in caps_actually_set_test()
/external/libcap/libcap/include/sys/
Dcapability.h55 CAP_INHERITABLE=2 /* Specifies the inheritable flag */ enumerator
/external/minijail/
Dlibminijail.c1854 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_SET)) in drop_caps()
1891 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_CLEAR)) in drop_caps()