Home
last modified time | relevance | path

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

/Linux-v6.1/security/apparmor/include/
Dperms.h66 struct aa_perms { struct
88 extern struct aa_perms nullperms; argument
89 extern struct aa_perms allperms;
143 struct aa_perms *perms);
145 struct aa_perms *perms);
146 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend);
147 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend);
149 int type, u32 request, struct aa_perms *perms);
153 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms,
Dfile.h162 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms,
186 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state,
190 struct aa_perms *perms);
194 int flags, struct aa_perms *perms);
Dlabel.h359 struct aa_perms;
362 struct aa_perms *perms);
/Linux-v6.1/security/apparmor/
Dlib.c23 struct aa_perms nullperms;
24 struct aa_perms allperms = { .allow = ALL_PERMS_MASK,
290 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
332 struct aa_perms *perms) in aa_compute_perms()
344 *perms = (struct aa_perms) { in aa_compute_perms()
365 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum_raw()
384 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum()
399 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label()
416 struct aa_perms perms; in aa_profile_label_perm()
446 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
Dfile.c92 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
215 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms()
223 struct aa_perms perms = { }; in aa_compute_fperms()
259 struct aa_perms *perms) in aa_str_perms()
270 struct aa_perms *perms) in __aa_path_perm()
287 struct aa_perms *perms) in profile_path_perm()
319 struct aa_perms perms = {}; in aa_path_perm()
364 struct aa_perms lperms = {}, perms; in profile_path_link()
512 struct aa_perms perms = {}; in __file_path_perm()
Dmount.c134 struct aa_perms *perms, const char *info, int error) in audit_mount()
213 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms()
216 struct aa_perms perms = { in compute_mnt_perms()
242 void *data, bool binary, struct aa_perms *perms) in do_match_mnt()
321 struct aa_perms perms = { }; in match_mnt_path_str()
585 struct aa_perms perms = { }; in profile_umount()
646 struct aa_perms perms = { }; in build_pivotroot()
Ddomain.c136 struct aa_perms *perms) in label_compound_match()
196 struct aa_perms *perms) in label_components_match()
200 struct aa_perms tmp; in label_components_match()
256 struct aa_perms *perms) in label_match()
290 struct aa_perms *perms) in change_profile_perms()
631 struct aa_perms perms = {}; in profile_transition()
727 struct aa_perms perms = {}; in profile_onexec()
1154 struct aa_perms perms = {}; in aa_change_hat()
1263 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
1296 struct aa_perms perms = {}; in aa_change_profile()
Dnet.c111 struct aa_perms perms = { }; in aa_profile_af_perm()
218 struct aa_perms perms = { }; in aa_secmark_perm()
Dipc.c81 struct aa_perms perms; in profile_signal_perm()
Dtask.c232 struct aa_perms perms = { }; in profile_ptrace_perm()
Dlabel.c1303 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()
1419 struct aa_perms *perms) in aa_label_match()
Dapparmorfs.c611 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
614 struct aa_perms tmp = { }; in profile_query_cb()
761 struct aa_perms perms; in query_label()