Home
last modified time | relevance | path

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

/linux-5.19.10/security/
Dcommoncap.c735 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
766 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
940 cap_clear(new->cap_ambient); in cap_bprm_creds_from_file()
1101 cap_clear(new->cap_permitted); in cap_emulate_setxuid()
1102 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1110 cap_clear(new->cap_ambient); in cap_emulate_setxuid()
1113 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1360 cap_clear(new->cap_ambient); in cap_task_prctl()
/linux-5.19.10/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c113 if (cap_clear(caps)) { in set_capability()
/linux-5.19.10/tools/testing/selftests/landlock/
Dcommon.h121 EXPECT_NE(-1, cap_clear(cap_p)) in _init_caps()
/linux-5.19.10/tools/testing/selftests/safesetid/
Dsafesetid-test.c279 cap_clear(caps); in drop_caps()
/linux-5.19.10/include/linux/
Dcapability.h96 # define cap_clear(c) do { (c) = __cap_empty_set; } while (0) macro
/linux-5.19.10/fs/
Dopen.c387 cap_clear(override_cred->cap_effective); in access_override_creds()