Home
last modified time | relevance | path

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

/external/libcap/libcap/
Dcap_file.c69 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
75 = result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
80 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
137 || cap_d->u[i].flat[CAP_INHERITABLE] in _fcaps_save()
152 = FIXUP_32BITS(cap_d->u[i].flat[CAP_INHERITABLE]); in _fcaps_save()
157 | 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/libcap/progs/
Dsetcap.c144 CAP_DIFFERS(cmp, CAP_INHERITABLE) ? "i" : "", in main()
183 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/libcap/libcap/include/sys/
Dcapability.h55 CAP_INHERITABLE=2 /* Specifies the inheritable flag */ enumerator
/external/minijail/
Dlibminijail.c1212 if (cap_clear_flag(caps, CAP_INHERITABLE)) in drop_caps()
1227 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_SET)) in drop_caps()
1253 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_CLEAR)) in drop_caps()