Home
last modified time | relevance | path

Searched refs:cap_clear (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/security/
Dcommoncap.c675 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
705 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
877 cap_clear(new->cap_ambient); in cap_bprm_creds_from_file()
1029 cap_clear(new->cap_permitted); in cap_emulate_setxuid()
1030 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1038 cap_clear(new->cap_ambient); in cap_emulate_setxuid()
1041 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1277 cap_clear(new->cap_ambient); in cap_task_prctl()
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c113 if (cap_clear(caps)) { in set_capability()
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/
Dsafesetid-test.c279 cap_clear(caps); in drop_caps()
/kernel/linux/linux-5.10/include/linux/
Dcapability.h96 # define cap_clear(c) do { (c) = __cap_empty_set; } while (0) macro
/kernel/linux/linux-5.10/fs/
Dopen.c364 cap_clear(override_cred->cap_effective); in access_override_creds()