Lines Matching defs:has_fcap
629 bool *has_fcap)
638 *has_fcap = true;
764 bool *effective, bool *has_fcap)
796 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap);
819 * @has_fcap: Are any file capabilities set?
828 static void handle_privileged_root(struct linux_binprm *bprm, bool has_fcap,
841 if (has_fcap && __is_suid(root_uid, new)) {
887 kuid_t root, bool has_fcap)
899 ((has_fcap &&
924 bool effective = false, has_fcap = false, id_changed;
931 ret = get_file_caps(bprm, file, &effective, &has_fcap);
937 handle_privileged_root(bprm, has_fcap, &effective, root_uid);
967 if (has_fcap || id_changed)
988 if (nonroot_raised_pE(new, old, root_uid, has_fcap)) {