Lines Matching refs:has_fcap
589 bool *has_fcap)
598 *has_fcap = true;
724 bool *effective, bool *has_fcap)
756 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap);
779 * @has_fcap: Are any file capabilities set?
788 static void handle_privileged_root(struct linux_binprm *bprm, bool has_fcap,
801 if (has_fcap && __is_suid(root_uid, new)) {
853 kuid_t root, bool has_fcap)
865 ((has_fcap &&
890 bool effective = false, has_fcap = false, is_setid;
897 ret = get_file_caps(bprm, file, &effective, &has_fcap);
903 handle_privileged_root(bprm, has_fcap, &effective, root_uid);
933 if (has_fcap || is_setid)
954 if (nonroot_raised_pE(new, old, root_uid, has_fcap)) {