Lines Matching refs:bprm
2029 static int selinux_bprm_set_creds(struct linux_binprm *bprm)
2035 struct inode *inode = bprm->file->f_path.dentry->d_inode;
2038 rc = cap_bprm_set_creds(bprm);
2044 if (bprm->cred_prepared)
2048 new_tsec = bprm->cred->security;
2073 ad.u.fs.path = bprm->file->f_path;
2075 if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID)
2096 if (bprm->unsafe & LSM_UNSAFE_SHARE) {
2106 if (bprm->unsafe &
2130 bprm->per_clear |= PER_CLEAR_ON_SETID;
2136 static int selinux_bprm_secureexec(struct linux_binprm *bprm)
2154 return (atsecure || cap_bprm_secureexec(bprm));
2261 static void selinux_bprm_committing_creds(struct linux_binprm *bprm)
2267 new_tsec = bprm->cred->security;
2272 flush_unauthorized_files(bprm->cred, current->files);
2306 static void selinux_bprm_committed_creds(struct linux_binprm *bprm)