Home
last modified time | relevance | path

Searched refs:aa_perms (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/security/apparmor/include/
A Dperms.h66 struct aa_perms { struct
96 extern struct aa_perms nullperms; argument
97 extern struct aa_perms allperms;
105 struct aa_perms *addend) in aa_perms_accum_raw()
131 static inline void aa_perms_accum(struct aa_perms *accum, in aa_perms_accum()
132 struct aa_perms *addend) in aa_perms_accum()
197 extern struct aa_perms default_perms;
207 struct aa_perms *perms);
208 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend);
209 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend);
[all …]
A Dfile.h111 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms,
116 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules,
120 struct aa_perms *perms);
A Dpolicy.h85 struct aa_perms *perms;
101 static inline struct aa_perms *aa_lookup_perms(struct aa_policydb *policy, in aa_lookup_perms()
A Dlabel.h359 struct aa_perms;
363 u32 request, struct aa_perms *perms);
/linux-6.3-rc2/security/apparmor/
A Dpolicy_compat.c112 static struct aa_perms compute_fperms_user(struct aa_dfa *dfa, in compute_fperms_user()
115 struct aa_perms perms = { }; in compute_fperms_user()
127 static struct aa_perms compute_fperms_other(struct aa_dfa *dfa, in compute_fperms_other()
130 struct aa_perms perms = { }; in compute_fperms_other()
149 static struct aa_perms *compute_fperms(struct aa_dfa *dfa) in compute_fperms()
153 struct aa_perms *table; in compute_fperms()
171 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch) in compute_xmatch_perms()
173 struct aa_perms *perms; in compute_xmatch_perms()
203 static struct aa_perms compute_perms_entry(struct aa_dfa *dfa, in compute_perms_entry()
207 struct aa_perms perms = { }; in compute_perms_entry()
[all …]
A Dlib.c23 struct aa_perms nullperms;
24 struct aa_perms allperms = { .allow = ALL_PERMS_MASK,
309 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
337 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label()
356 struct aa_perms perms; in aa_profile_label_perm()
387 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
A Dfile.c92 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
174 struct aa_perms default_perms = {};
175 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, in aa_lookup_fperms()
201 struct aa_perms *perms) in aa_str_perms()
213 struct aa_perms *perms) in __aa_path_perm()
233 struct aa_perms *perms) in profile_path_perm()
265 struct aa_perms perms = {}; in aa_path_perm()
312 struct aa_perms lperms = {}, perms; in profile_path_link()
461 struct aa_perms perms = {}; in __file_path_perm()
A Ddomain.c120 struct aa_perms *perms) in label_compound_match()
182 struct aa_perms *perms) in label_components_match()
188 struct aa_perms tmp; in label_components_match()
244 struct aa_perms *perms) in label_match()
278 struct aa_perms *perms) in change_profile_perms()
632 struct aa_perms perms = {}; in profile_transition()
730 struct aa_perms perms = {}; in profile_onexec()
1157 struct aa_perms perms = {}; in aa_change_hat()
1266 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
1302 struct aa_perms perms = {}; in aa_change_profile()
A Dmount.c134 struct aa_perms *perms, const char *info, int error) in audit_mount()
223 void *data, bool binary, struct aa_perms *perms) in do_match_mnt()
304 struct aa_perms perms = { }; in match_mnt_path_str()
574 struct aa_perms perms = { }; in profile_umount()
637 struct aa_perms perms = { }; in build_pivotroot()
A Dnet.c113 struct aa_perms perms = { }; in aa_profile_af_perm()
220 struct aa_perms perms = { }; in aa_secmark_perm()
A Dipc.c83 struct aa_perms perms; in profile_signal_perm()
A Dtask.c234 struct aa_perms perms = { }; in profile_ptrace_perm()
A Dpolicy_unpack.c643 static bool unpack_perm(struct aa_ext *e, u32 version, struct aa_perms *perm) in unpack_perm()
664 static ssize_t unpack_perms_table(struct aa_ext *e, struct aa_perms **perms) in unpack_perms_table()
682 *perms = kcalloc(size, sizeof(struct aa_perms), GFP_KERNEL); in unpack_perms_table()
1158 static bool verify_perm(struct aa_perms *perm) in verify_perm()
A Dlabel.c1301 struct aa_perms *perms) in label_compound_match()
1361 struct aa_perms *perms) in label_components_match()
1365 struct aa_perms tmp; in label_components_match()
1420 u32 request, struct aa_perms *perms) in aa_label_match()
A Dapparmorfs.c611 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
616 struct aa_perms tmp = { }; in profile_query_cb()
762 struct aa_perms perms; in query_label()

Completed in 32 milliseconds