Lines Matching refs:file
104 state = aa_dfa_match(profile->file.dfa, state, "&"); in match_component()
106 return aa_dfa_match(profile->file.dfa, state, tp->base.hname); in match_component()
110 state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); in match_component()
111 state = aa_dfa_match(profile->file.dfa, state, ns_name); in match_component()
112 state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); in match_component()
113 return aa_dfa_match(profile->file.dfa, state, tp->base.hname); in match_component()
159 state = aa_dfa_match(profile->file.dfa, state, "//&"); in label_compound_match()
164 *perms = aa_compute_fperms(profile->file.dfa, state, &cond); in label_compound_match()
217 tmp = aa_compute_fperms(profile->file.dfa, state, &cond); in label_components_match()
226 tmp = aa_compute_fperms(profile->file.dfa, state, &cond); in label_components_match()
325 d = bprm->file->f_path.dentry; in aa_xattrs_match()
517 for (*name = profile->file.trans.table[index]; !label && *name; in x_table_lookup()
568 stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK]; in x_to_label()
626 unsigned int state = profile->file.start; in profile_transition()
635 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_transition()
660 state = aa_str_perms(profile->file.dfa, state, name, cond, &perms); in profile_transition()
748 unsigned int state = profile->file.start; in profile_onexec()
768 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_onexec()
781 state = aa_str_perms(profile->file.dfa, state, xname, cond, &perms); in profile_onexec()
790 state = aa_dfa_null_transition(profile->file.dfa, state); in profile_onexec()
885 file_inode(bprm->file)->i_uid, in apparmor_bprm_set_creds()
886 file_inode(bprm->file)->i_mode in apparmor_bprm_set_creds()
990 file_inode(bprm->file)->i_uid, info, in apparmor_bprm_set_creds()
1288 profile->file.start, perms); in change_profile_perms_wrapper()