Searched refs:aa_perms (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/security/apparmor/include/ |
D | perms.h | 66 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,
|
D | file.h | 162 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);
|
D | label.h | 359 struct aa_perms; 362 struct aa_perms *perms);
|
/Linux-v6.1/security/apparmor/ |
D | lib.c | 23 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()
|
D | file.c | 92 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()
|
D | mount.c | 134 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()
|
D | domain.c | 136 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()
|
D | net.c | 111 struct aa_perms perms = { }; in aa_profile_af_perm() 218 struct aa_perms perms = { }; in aa_secmark_perm()
|
D | ipc.c | 81 struct aa_perms perms; in profile_signal_perm()
|
D | task.c | 232 struct aa_perms perms = { }; in profile_ptrace_perm()
|
D | label.c | 1303 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()
|
D | apparmorfs.c | 611 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()
|