Searched refs:CAP_INHERITABLE (Results 1 – 12 of 12) sorted by relevance
/external/libcap/libcap/ |
D | cap_file.c | 78 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()
|
D | cap_text.c | 154 _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()
|
D | cap_flag.c | 105 case CAP_INHERITABLE: in cap_clear_flag() 144 | ((a->u[i].flat[CAP_INHERITABLE] != b->u[i].flat[CAP_INHERITABLE]) in cap_compare()
|
D | libcap.h | 149 #define LIBCAP_INH (1 << CAP_INHERITABLE)
|
/external/ltp/testcases/kernel/security/cap_bound/ |
D | cap_bset_inh_bounds.c | 75 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()
|
D | exec_without_inh.c | 52 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()
|
D | exec_with_inh.c | 66 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
|
/external/libcap/progs/ |
D | setcap.c | 144 CAP_DIFFERS(cmp, CAP_INHERITABLE) ? "i" : "", in main() 184 cap_get_flag(cap_d, cap, CAP_INHERITABLE, &inh_state); in main()
|
D | capsh.c | 135 if (cap_clear_flag(all, CAP_INHERITABLE) != 0) { in main()
|
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 289 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/ |
D | capability.h | 55 CAP_INHERITABLE=2 /* Specifies the inheritable flag */ enumerator
|
/external/minijail/ |
D | libminijail.c | 1726 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_SET)) in drop_caps() 1747 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_CLEAR)) in drop_caps()
|