/external/libcap/libcap/ |
D | cap_file.c | 100 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load() 106 = result->u[i].flat[CAP_INHERITABLE] in _fcaps_load() 111 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load() 169 || cap_d->u[i].flat[CAP_INHERITABLE] in _fcaps_save() 184 = FIXUP_32BITS(cap_d->u[i].flat[CAP_INHERITABLE]); in _fcaps_save() 189 | cap_d->u[i].flat[CAP_INHERITABLE]))) { in _fcaps_save()
|
D | cap_flag.c | 103 case CAP_INHERITABLE: in cap_clear_flag() 141 | ((a->u[i].flat[CAP_INHERITABLE] != b->u[i].flat[CAP_INHERITABLE]) in cap_compare() 231 case CAP_INHERITABLE: in cap_iab_fill()
|
D | cap_text.c | 181 _cap_debugcap("i = ", *res, CAP_INHERITABLE); in cap_from_text() 249 clrbits(res, list, CAP_INHERITABLE, cap_blks); in cap_from_text() 259 setbits(res, list, CAP_INHERITABLE, cap_blks); in cap_from_text() 268 clrbits(res, list, CAP_INHERITABLE, cap_blks); in cap_from_text() 344 if (isset_cap(caps, capno, CAP_INHERITABLE)) { in getstateflags() 368 _cap_debugcap("i = ", *caps, CAP_INHERITABLE); in cap_to_text()
|
D | cap_proc.c | 437 (void) cap_clear_flag(working, CAP_INHERITABLE); in _cap_set_mode() 527 if (CAP_DIFFERS(cf, CAP_INHERITABLE)) { in cap_get_mode() 666 cap_iab_fill(iab, CAP_IAB_INH, current, CAP_INHERITABLE); in cap_iab_get_proc() 694 __u32 oldIP = temp->u[i].flat[CAP_INHERITABLE] | in _cap_iab_set_proc() 697 temp->u[i].flat[CAP_INHERITABLE] = newI; in _cap_iab_set_proc()
|
D | libcap.h | 158 #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 | 53 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main() 56 ret = cap_set_flag(cur, CAP_INHERITABLE, 1, v, CAP_CLEAR); in main()
|
D | exec_with_inh.c | 67 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl07.c | 126 cap_set_flag(caps, CAP_INHERITABLE, numcaps, caplist, CAP_SET); in verify_prctl() 132 cap_clear_flag(caps, CAP_INHERITABLE); in verify_prctl() 136 cap_set_flag(caps, CAP_INHERITABLE, numcaps, caplist, CAP_SET); in verify_prctl()
|
/external/libcap/progs/ |
D | setcap.c | 185 CAP_DIFFERS(cmp, CAP_INHERITABLE) ? "i" : "", in main() 226 cap_get_flag(cap_d, cap, CAP_INHERITABLE, &inh_state); in main()
|
D | capsh.c | 426 if (cap_clear_flag(all, CAP_INHERITABLE) != 0) { in main() 868 if (cap_get_flag(orig, cap, CAP_INHERITABLE, &enabled) in main()
|
/external/libcap/pam_cap/ |
D | test_pam_cap.c | 112 if (cap_get_flag(prev, i, CAP_INHERITABLE, &u) != 0) { in load_vectors() 134 cap_clear_flag(orig, CAP_INHERITABLE); in main()
|
D | pam_cap.c | 217 cap_clear_flag(cap_s, CAP_INHERITABLE); in set_capabilities()
|
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 294 cap_set_flag(cap_fullpi, CAP_INHERITABLE, 1, capvalue, CAP_SET); in caps_actually_set_test() 330 cap_set_flag(fcap, CAP_INHERITABLE, 1, capvalue, CAP_SET); in caps_actually_set_test()
|
/external/libcap/libcap/include/sys/ |
D | capability.h | 62 CAP_INHERITABLE = 2 /* Specifies the inheritable flag */ enumerator
|
/external/minijail/ |
D | libminijail.c | 2042 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_SET)) in drop_caps() 2079 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_CLEAR)) in drop_caps()
|