Home
last modified time | relevance | path

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

/linux-6.15/security/apparmor/include/
H A Dperms.h69 struct aa_perms { struct
99 extern struct aa_perms nullperms; argument
100 extern struct aa_perms allperms;
108 struct aa_perms *addend) in aa_perms_accum_raw()
134 static inline void aa_perms_accum(struct aa_perms *accum, in aa_perms_accum()
135 struct aa_perms *addend) in aa_perms_accum()
200 extern struct aa_perms default_perms;
210 struct aa_perms *perms);
211 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend);
212 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend);
[all …]
H A Dfile.h75 struct aa_profile *profile, struct aa_perms *perms,
80 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules,
84 struct aa_perms *perms);
H A Dpolicy.h88 struct aa_perms *perms;
127 static inline struct aa_perms *aa_lookup_perms(struct aa_policydb *policy, in aa_lookup_perms()
H A Dlabel.h331 struct aa_perms;
335 u32 request, struct aa_perms *perms);
/linux-6.15/security/apparmor/
H A Dpolicy_compat.c112 static struct aa_perms compute_fperms_user(struct aa_dfa *dfa, in compute_fperms_user()
115 struct aa_perms perms = { }; in compute_fperms_user()
127 static struct aa_perms compute_fperms_other(struct aa_dfa *dfa, in compute_fperms_other()
130 struct aa_perms perms = { }; in compute_fperms_other()
150 static struct aa_perms *compute_fperms(struct aa_dfa *dfa, in compute_fperms()
155 struct aa_perms *table; in compute_fperms()
174 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch, in compute_xmatch_perms()
177 struct aa_perms *perms; in compute_xmatch_perms()
210 static struct aa_perms compute_perms_entry(struct aa_dfa *dfa, in compute_perms_entry()
214 struct aa_perms perms = { }; in compute_perms_entry()
[all …]
H A Dlib.c23 struct aa_perms nullperms;
24 struct aa_perms allperms = { .allow = ALL_PERMS_MASK,
247 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
275 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label()
304 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
H A Dfile.c95 struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
169 struct aa_perms default_perms = {};
180 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, in aa_lookup_fperms()
206 struct aa_perms *perms) in aa_str_perms()
218 struct aa_perms *perms) in __aa_path_perm()
240 struct aa_perms *perms) in profile_path_perm()
274 struct aa_perms perms = {}; in aa_path_perm()
322 struct aa_perms lperms = {}, perms; in profile_path_link()
477 struct aa_perms perms = {}; in __file_path_perm()
H A Ddomain.c126 struct aa_perms *perms) in label_compound_match()
188 struct aa_perms *perms) in label_components_match()
194 struct aa_perms tmp; in label_components_match()
250 struct aa_perms *perms) in label_match()
285 struct aa_perms *perms) in change_profile_perms()
642 struct aa_perms perms = {}; in profile_transition()
745 struct aa_perms perms = {}; in profile_onexec()
1172 struct aa_perms perms = {}; in aa_change_hat()
1283 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
1322 struct aa_perms perms = {}; in aa_change_profile()
H A Dmount.c139 struct aa_perms *perms, const char *info, int error) in audit_mount()
229 void *data, bool binary, struct aa_perms *perms) in do_match_mnt()
312 struct aa_perms perms = { }; in match_mnt_path_str()
609 struct aa_perms perms = { }; in profile_umount()
675 struct aa_perms perms = { }; in build_pivotroot()
H A Dtask.c233 struct aa_perms perms = { }; in profile_ptrace_perm()
320 struct aa_perms perms = { }; in aa_profile_ns_perm()
H A Dnet.c115 struct aa_perms perms = { }; in aa_profile_af_perm()
225 struct aa_perms perms = { }; in aa_secmark_perm()
H A Dipc.c85 struct aa_perms perms; in profile_signal_perm()
H A Dpolicy_unpack.c646 static bool unpack_perm(struct aa_ext *e, u32 version, struct aa_perms *perm) in unpack_perm()
670 static ssize_t unpack_perms_table(struct aa_ext *e, struct aa_perms **perms) in unpack_perms_table()
688 *perms = kcalloc(size, sizeof(struct aa_perms), GFP_KERNEL); in unpack_perms_table()
1192 static bool verify_perm(struct aa_perms *perm) in verify_perm()
H A Dlabel.c1286 struct aa_perms *perms) in label_compound_match()
1346 struct aa_perms *perms) in label_components_match()
1350 struct aa_perms tmp; in label_components_match()
1405 u32 request, struct aa_perms *perms) in aa_label_match()
H A Dapparmorfs.c612 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
617 struct aa_perms tmp = { }; in profile_query_cb()
763 struct aa_perms perms; in query_label()
H A Dlsm.c639 struct aa_perms perms = { }; in profile_uring()
2179 nullpdb->perms = kcalloc(2, sizeof(struct aa_perms), GFP_KERNEL); in aa_setup_dfa_engine()