Lines Matching refs:bprm
40 static int tomoyo_bprm_set_creds(struct linux_binprm *bprm)
44 rc = cap_bprm_set_creds(bprm);
52 if (bprm->cred_prepared)
59 tomoyo_load_policy(bprm->filename);
62 * "bprm->cred->security". New reference to "struct tomoyo_domain_info"
63 * stored inside "bprm->cred->security" will be acquired later inside
67 bprm->cred->security)->users);
72 bprm->cred->security = NULL;
76 static int tomoyo_bprm_check_security(struct linux_binprm *bprm)
78 struct tomoyo_domain_info *domain = bprm->cred->security;
86 const int err = tomoyo_find_next_domain(bprm);
93 return tomoyo_check_open_permission(domain, &bprm->file->f_path, O_RDONLY);