Lines Matching refs:cred
95 int aa_audit_file(const struct cred *subj_cred, in aa_audit_file()
148 static int path_name(const char *op, const struct cred *subj_cred, in path_name()
221 int __aa_path_perm(const char *op, const struct cred *subj_cred, in __aa_path_perm()
242 static int profile_path_perm(const char *op, const struct cred *subj_cred, in profile_path_perm()
275 int aa_path_perm(const char *op, const struct cred *subj_cred, in aa_path_perm()
319 static int profile_path_link(const struct cred *subj_cred, in profile_path_link()
425 int aa_path_link(const struct cred *subj_cred, in aa_path_link()
478 static int __file_path_perm(const char *op, const struct cred *subj_cred, in __file_path_perm()
539 static int __file_sock_perm(const char *op, const struct cred *subj_cred, in __file_sock_perm()
604 int aa_file_perm(const char *op, const struct cred *subj_cred, in aa_file_perm()
654 static void revalidate_tty(const struct cred *subj_cred, struct aa_label *label) in revalidate_tty()
684 const struct cred *cred; member
692 if (aa_file_perm(OP_INHERIT, cl->cred, cl->label, file, in match_file()
700 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files() argument
702 struct aa_label *label = aa_get_newest_cred_label(cred); in aa_inherit_files()
704 .cred = cred, in aa_inherit_files()
710 revalidate_tty(cred, label); in aa_inherit_files()
717 devnull = dentry_open(&aa_null, O_RDWR, cred); in aa_inherit_files()