Home
last modified time | relevance | path

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

/linux/security/apparmor/include/
A 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,
A 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);
A Dlabel.h357 struct aa_perms;
360 struct aa_perms *perms);
/linux/security/apparmor/
A 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()
A 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()
A 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()
A Ddomain.c137 struct aa_perms *perms) in label_compound_match()
197 struct aa_perms *perms) in label_components_match()
201 struct aa_perms tmp; in label_components_match()
257 struct aa_perms *perms) in label_match()
291 struct aa_perms *perms) in change_profile_perms()
632 struct aa_perms perms = {}; in profile_transition()
728 struct aa_perms perms = {}; in profile_onexec()
1155 struct aa_perms perms = {}; in aa_change_hat()
1264 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
1298 struct aa_perms perms = {}; in aa_change_profile()
A Dipc.c67 struct aa_perms perms = { }; in profile_ptrace_perm()
191 struct aa_perms perms; in profile_signal_perm()
A Dnet.c111 struct aa_perms perms = { }; in aa_profile_af_perm()
217 struct aa_perms perms = { }; in aa_secmark_perm()
A 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()
A Dapparmorfs.c608 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
611 struct aa_perms tmp = { }; in profile_query_cb()
758 struct aa_perms perms; in query_label()

Completed in 23 milliseconds