Searched refs:has_fcap (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/security/ |
D | commoncap.c | 531 bool *has_fcap) in bprm_caps_from_vfs_caps() argument 541 *has_fcap = true; in bprm_caps_from_vfs_caps() 650 static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_fcap) in get_file_caps() argument 681 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps() 713 static void handle_privileged_root(struct linux_binprm *bprm, bool has_fcap, in handle_privileged_root() argument 726 if (has_fcap && __is_suid(root_uid, new)) { in handle_privileged_root() 778 kuid_t root, bool has_fcap) in nonroot_raised_pE() argument 790 ((has_fcap && in nonroot_raised_pE() 811 bool effective = false, has_fcap = false, is_setid; in cap_bprm_set_creds() local 818 ret = get_file_caps(bprm, &effective, &has_fcap); in cap_bprm_set_creds() [all …]
|