Home
last modified time | relevance | path

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

/Linux-v5.4/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.h159 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms,
183 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state,
187 struct aa_perms *perms);
191 int flags, struct aa_perms *perms);
Dlabel.h358 struct aa_perms;
361 struct aa_perms *perms);
/Linux-v5.4/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()
326 struct aa_perms *perms) in aa_compute_perms()
328 *perms = (struct aa_perms) { in aa_compute_perms()
348 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum_raw()
367 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum()
382 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label()
399 struct aa_perms perms; in aa_profile_label_perm()
429 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
Dfile.c101 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
224 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms()
232 struct aa_perms perms = { }; in aa_compute_fperms()
268 struct aa_perms *perms) in aa_str_perms()
279 struct aa_perms *perms) in __aa_path_perm()
296 struct aa_perms *perms) in profile_path_perm()
328 struct aa_perms perms = {}; in aa_path_perm()
371 struct aa_perms lperms = {}, perms; in profile_path_link()
513 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()
556 struct aa_perms perms = { }; in profile_umount()
614 struct aa_perms perms = { }; in build_pivotroot()
Ddomain.c135 struct aa_perms *perms) in label_compound_match()
195 struct aa_perms *perms) in label_components_match()
199 struct aa_perms tmp; in label_components_match()
255 struct aa_perms *perms) in label_match()
289 struct aa_perms *perms) in change_profile_perms()
623 struct aa_perms perms = {}; in profile_transition()
745 struct aa_perms perms = {}; in profile_onexec()
1168 struct aa_perms perms = {}; in aa_change_hat()
1277 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
1311 struct aa_perms perms = {}; in aa_change_profile()
Dipc.c69 struct aa_perms perms = { }; in profile_ptrace_perm()
191 struct aa_perms perms; in profile_signal_perm()
Dnet.c109 struct aa_perms perms = { }; in aa_profile_af_perm()
215 struct aa_perms perms = { }; in aa_secmark_perm()
Dlabel.c1276 struct aa_perms *perms) in label_compound_match()
1334 struct aa_perms *perms) in label_components_match()
1338 struct aa_perms tmp; in label_components_match()
1392 struct aa_perms *perms) in aa_label_match()
Dapparmorfs.c609 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
612 struct aa_perms tmp = { }; in profile_query_cb()
759 struct aa_perms perms; in query_label()