Home
last modified time | relevance | path

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

/Linux-v4.19/security/
Dcommoncap.c538 bool *has_fcap) in bprm_caps_from_vfs_caps() argument
548 *has_fcap = true; in bprm_caps_from_vfs_caps()
655 static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_fcap) in get_file_caps() argument
686 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
721 static void handle_privileged_root(struct linux_binprm *bprm, bool has_fcap, in handle_privileged_root() argument
734 if (has_fcap && __is_suid(root_uid, new)) { in handle_privileged_root()
786 kuid_t root, bool has_fcap) in nonroot_raised_pE() argument
798 ((has_fcap && in nonroot_raised_pE()
819 bool effective = false, has_fcap = false, is_setid; in cap_bprm_set_creds() local
826 ret = get_file_caps(bprm, &effective, &has_fcap); in cap_bprm_set_creds()
[all …]