Lines Matching refs:has_fcap
590 bool *has_fcap) in bprm_caps_from_vfs_caps() argument
599 *has_fcap = true; in bprm_caps_from_vfs_caps()
725 bool *effective, bool *has_fcap) in get_file_caps() argument
757 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
789 static void handle_privileged_root(struct linux_binprm *bprm, bool has_fcap, in handle_privileged_root() argument
802 if (has_fcap && __is_suid(root_uid, new)) { in handle_privileged_root()
854 kuid_t root, bool has_fcap) in nonroot_raised_pE() argument
866 ((has_fcap && in nonroot_raised_pE()
891 bool effective = false, has_fcap = false, is_setid; in cap_bprm_creds_from_file() local
898 ret = get_file_caps(bprm, file, &effective, &has_fcap); in cap_bprm_creds_from_file()
904 handle_privileged_root(bprm, has_fcap, &effective, root_uid); in cap_bprm_creds_from_file()
934 if (has_fcap || is_setid) in cap_bprm_creds_from_file()
955 if (nonroot_raised_pE(new, old, root_uid, has_fcap)) { in cap_bprm_creds_from_file()