Searched refs:aa_perms (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/security/apparmor/include/ |
D | perms.h | 70 struct aa_perms { struct 92 extern struct aa_perms nullperms; argument 93 extern struct aa_perms allperms; 147 struct aa_perms *perms); 149 struct aa_perms *perms); 150 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend); 151 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend); 153 int type, u32 request, struct aa_perms *perms); 157 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms,
|
D | file.h | 160 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, 184 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, 188 struct aa_perms *perms); 192 int flags, struct aa_perms *perms);
|
D | label.h | 362 struct aa_perms; 365 struct aa_perms *perms);
|
/Linux-v4.19/security/apparmor/ |
D | lib.c | 27 struct aa_perms nullperms; 28 struct aa_perms allperms = { .allow = ALL_PERMS_MASK, 292 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms() 328 struct aa_perms *perms) in aa_compute_perms() 330 *perms = (struct aa_perms) { in aa_compute_perms() 350 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum_raw() 369 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum() 384 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label() 401 struct aa_perms perms; in aa_profile_label_perm() 431 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
|
D | file.c | 105 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file() 228 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms() 236 struct aa_perms perms = { }; in aa_compute_fperms() 272 struct aa_perms *perms) in aa_str_perms() 283 struct aa_perms *perms) in __aa_path_perm() 300 struct aa_perms *perms) in profile_path_perm() 332 struct aa_perms perms = {}; in aa_path_perm() 375 struct aa_perms lperms = {}, perms; in profile_path_link() 517 struct aa_perms perms = {}; in __file_path_perm()
|
D | mount.c | 137 struct aa_perms *perms, const char *info, int error) in audit_mount() 216 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms() 219 struct aa_perms perms = { in compute_mnt_perms() 245 void *data, bool binary, struct aa_perms *perms) in do_match_mnt() 324 struct aa_perms perms = { }; in match_mnt_path_str() 559 struct aa_perms perms = { }; in profile_umount() 617 struct aa_perms perms = { }; in build_pivotroot()
|
D | domain.c | 139 struct aa_perms *perms) in label_compound_match() 199 struct aa_perms *perms) in label_components_match() 203 struct aa_perms tmp; in label_components_match() 259 struct aa_perms *perms) in label_match() 293 struct aa_perms *perms) in change_profile_perms() 627 struct aa_perms perms = {}; in profile_transition() 749 struct aa_perms perms = {}; in profile_onexec() 1172 struct aa_perms perms = {}; in aa_change_hat() 1281 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper() 1315 struct aa_perms perms = {}; in aa_change_profile()
|
D | ipc.c | 73 struct aa_perms perms = { }; in profile_ptrace_perm() 194 struct aa_perms perms; in profile_signal_perm()
|
D | net.c | 112 struct aa_perms perms = { }; in aa_profile_af_perm()
|
D | label.c | 1280 struct aa_perms *perms) in label_compound_match() 1338 struct aa_perms *perms) in label_components_match() 1342 struct aa_perms tmp; in label_components_match() 1396 struct aa_perms *perms) in aa_label_match()
|
D | apparmorfs.c | 603 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb() 606 struct aa_perms tmp = { }; in profile_query_cb() 753 struct aa_perms perms; in query_label()
|