Home
last modified time | relevance | path

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

/Linux-v5.15/security/
Dcommoncap.c732 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
763 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
937 cap_clear(new->cap_ambient); in cap_bprm_creds_from_file()
1098 cap_clear(new->cap_permitted); in cap_emulate_setxuid()
1099 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1107 cap_clear(new->cap_ambient); in cap_emulate_setxuid()
1110 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1357 cap_clear(new->cap_ambient); in cap_task_prctl()
/Linux-v5.15/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c113 if (cap_clear(caps)) { in set_capability()
/Linux-v5.15/tools/testing/selftests/landlock/
Dcommon.h121 EXPECT_NE(-1, cap_clear(cap_p)) { in _init_caps()
/Linux-v5.15/tools/testing/selftests/safesetid/
Dsafesetid-test.c279 cap_clear(caps); in drop_caps()
/Linux-v5.15/include/linux/
Dcapability.h96 # define cap_clear(c) do { (c) = __cap_empty_set; } while (0) macro
/Linux-v5.15/fs/
Dopen.c362 cap_clear(override_cred->cap_effective); in access_override_creds()