Lines Matching refs:has_fcap
552 bool *has_fcap)
562 *has_fcap = true;
672 bool *effective, bool *has_fcap)
703 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap);
726 * @has_fcap: Are any file capabilities set?
735 static void handle_privileged_root(struct linux_binprm *bprm, bool has_fcap,
748 if (has_fcap && __is_suid(root_uid, new)) {
800 kuid_t root, bool has_fcap)
812 ((has_fcap &&
835 bool effective = false, has_fcap = false, is_setid;
842 ret = get_file_caps(bprm, file, &effective, &has_fcap);
848 handle_privileged_root(bprm, has_fcap, &effective, root_uid);
878 if (has_fcap || is_setid)
899 if (nonroot_raised_pE(new, old, root_uid, has_fcap)) {