Home
last modified time | relevance | path

Searched refs:aa_profile (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/security/apparmor/include/
A Dpolicy.h198 struct aa_profile { struct
200 struct aa_profile __rcu *parent; argument
237 struct aa_profile *aa_alloc_null(struct aa_profile *parent, const char *name,
239 struct aa_profile *aa_new_learning_profile(struct aa_profile *parent, bool hat,
241 void aa_free_profile(struct aa_profile *profile);
243 struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name);
270 static inline struct aa_profile *aa_get_newest_profile(struct aa_profile *p) in aa_get_newest_profile()
312 static inline struct aa_profile *aa_get_profile(struct aa_profile *p) in aa_get_profile()
327 static inline struct aa_profile *aa_get_profile_not0(struct aa_profile *p) in aa_get_profile_not0()
342 static inline struct aa_profile *aa_get_profile_rcu(struct aa_profile __rcu **p) in aa_get_profile_rcu()
[all …]
A Dapparmorfs.h62 struct aa_profile;
108 void __aafs_profile_rmdir(struct aa_profile *profile);
109 void __aafs_profile_migrate_dents(struct aa_profile *old,
110 struct aa_profile *new);
111 int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent);
A Dperms.h178 struct aa_profile *__p2; \
185 struct aa_profile *__p1; \
206 void aa_apply_modes_to_perms(struct aa_profile *profile,
210 void aa_profile_match_label(struct aa_profile *profile,
213 int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target,
216 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms,
A Dlabel.h56 struct aa_profile;
58 int aa_vec_unique(struct aa_profile **vec, int n, int flags);
59 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,
62 aa_sort_and_merge_profiles((N), (struct aa_profile **)(V))
132 struct aa_profile *vec[];
260 struct aa_profile *profile; \
285 struct aa_profile *__aa_label_next_not_in_set(struct label_it *I,
296 struct aa_profile *aa_label_next_in_merge(struct label_it *I,
361 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules,
A Dcrypto.h18 int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start,
25 static inline int aa_calc_profile_hash(struct aa_profile *profile, u32 version, in aa_calc_profile_hash()
A Dpolicy_ns.h63 struct aa_profile *unconfined;
100 static inline struct aa_profile *aa_deref_parent(struct aa_profile *p) in aa_deref_parent()
A Dpolicy_unpack.h22 struct aa_profile *new;
23 struct aa_profile *old;
24 struct aa_profile *rename;
A Daudit.h143 struct aa_profile *profile;
174 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa,
A Dnet.h93 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa,
97 static inline int aa_profile_af_sk_perm(struct aa_profile *profile, in aa_profile_af_sk_perm()
A Dfile.h21 struct aa_profile;
111 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms,
A Ddomain.h25 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex,
/linux-6.3-rc2/security/apparmor/
A Dpolicy.c295 struct aa_profile *profile; in aa_alloc_profile()
377 struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name) in aa_find_child()
379 struct aa_profile *profile; in aa_find_child()
580 struct aa_profile *aa_alloc_null(struct aa_profile *parent, const char *name, in aa_alloc_null()
625 struct aa_profile *aa_new_learning_profile(struct aa_profile *parent, bool hat, in aa_new_learning_profile()
895 static void __replace_profile(struct aa_profile *old, struct aa_profile *new) in __replace_profile()
904 struct aa_profile *p; in __replace_profile()
967 static void share_name(struct aa_profile *old, struct aa_profile *new) in share_name()
979 static struct aa_profile *update_to_newest_parent(struct aa_profile *new) in update_to_newest_parent()
1087 struct aa_profile *p; in aa_replace_profiles()
[all …]
A Ddomain.c81 struct aa_profile *tp, in match_component()
124 struct aa_profile *tp; in label_compound_match()
186 struct aa_profile *tp; in label_components_match()
523 struct aa_profile *new_profile; in x_table_lookup()
802 struct aa_profile *profile; in handle_onexec()
860 struct aa_profile *profile; in apparmor_bprm_creds_for_exec()
993 struct aa_profile *root, *hat = NULL; in build_change_hat()
1156 struct aa_profile *profile; in aa_change_hat()
1264 struct aa_profile *profile, in change_profile_perms_wrapper()
1301 struct aa_profile *profile; in aa_change_profile()
[all …]
A Dlabel.c135 static int profile_cmp(struct aa_profile *a, struct aa_profile *b) in profile_cmp()
165 static int vec_cmp(struct aa_profile **a, int an, struct aa_profile **b, int bn) in vec_cmp()
219 return profile_cmp(*(struct aa_profile **)a, *(struct aa_profile **)b); in sort_cmp()
320 struct aa_profile *profile; in aa_label_destroy()
567 struct aa_profile *p; in aa_label_is_unconfined_subset()
1055 struct aa_profile *next; in label_merge_insert()
1266 struct aa_profile *tp, in match_component()
1303 struct aa_profile *tp; in label_compound_match()
1363 struct aa_profile *tp; in label_components_match()
1556 struct aa_profile *profile; in label_modename()
[all …]
A Dcapability.c33 struct aa_profile *profile;
64 static int audit_caps(struct common_audit_data *sa, struct aa_profile *profile, in audit_caps()
116 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
153 struct aa_profile *profile; in aa_capable()
A Dmount.c130 static int audit_mount(struct aa_profile *profile, const char *op, in audit_mount()
298 static int match_mnt_path_str(struct aa_profile *profile, in match_mnt_path_str()
357 static int match_mnt(struct aa_profile *profile, const struct path *path, in match_mnt()
388 struct aa_profile *profile; in aa_remount()
412 struct aa_profile *profile; in aa_bind_mount()
449 struct aa_profile *profile; in aa_mount_change_type()
474 struct aa_profile *profile; in aa_move_mount()
509 struct aa_profile *profile; in aa_new_mount()
604 struct aa_profile *profile; in aa_umount()
627 static struct aa_label *build_pivotroot(struct aa_profile *profile, in build_pivotroot()
[all …]
A Dnet.c108 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, in aa_profile_af_perm()
139 struct aa_profile *profile; in aa_af_perm()
157 struct aa_profile *profile; in aa_label_sk_perm()
216 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm()
254 struct aa_profile *profile; in apparmor_secmark_check()
A Dresource.c54 static int audit_resource(struct aa_profile *profile, unsigned int resource, in audit_resource()
84 static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, in profile_setrlimit()
112 struct aa_profile *profile; in aa_task_setrlimit()
150 struct aa_profile *old, *new; in __aa_transition_rlimits()
A Dapparmorfs.c669 struct aa_profile *profile; in query_data()
758 struct aa_profile *profile; in query_label()
1163 struct aa_profile *profile; in seq_ns_nsstacked_show()
1521 struct aa_profile *child; in __aafs_profile_rmdir()
1686 struct aa_profile *child; in __aafs_profile_mkdir()
1694 struct aa_profile *p; in __aafs_profile_mkdir()
1911 struct aa_profile *child; in __aafs_ns_rmdir()
2020 struct aa_profile *child; in __aafs_ns_mkdir()
2144 static struct aa_profile *__next_profile(struct aa_profile *p) in __next_profile()
2146 struct aa_profile *parent; in __next_profile()
[all …]
A Dtask.c228 static int profile_ptrace_perm(struct aa_profile *profile, in profile_ptrace_perm()
243 static int profile_tracee_perm(struct aa_profile *tracee, in profile_tracee_perm()
254 static int profile_tracer_perm(struct aa_profile *tracer, in profile_tracer_perm()
288 struct aa_profile *profile; in aa_may_ptrace()
A Dlib.c309 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
334 void aa_profile_match_label(struct aa_profile *profile, in aa_profile_match_label()
350 int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, in aa_profile_label_perm()
387 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()
148 struct aa_profile *profile; in path_name()
210 static int __aa_path_perm(const char *op, struct aa_profile *profile, in __aa_path_perm()
230 static int profile_path_perm(const char *op, struct aa_profile *profile, in profile_path_perm()
266 struct aa_profile *profile; in aa_path_perm()
304 static int profile_path_link(struct aa_profile *profile, in profile_path_link()
416 struct aa_profile *profile; in aa_path_link()
460 struct aa_profile *profile; in __file_path_perm()
A Dipc.c77 static int profile_signal_perm(struct aa_profile *profile, in profile_signal_perm()
102 struct aa_profile *profile; in aa_may_signal()
A Dpolicy_ns.c83 static struct aa_profile *alloc_unconfined(const char *name) in alloc_unconfined()
85 struct aa_profile *profile; in alloc_unconfined()
402 struct aa_profile *kernel_p; in aa_alloc_root_ns()
A Daudit.c121 struct aa_profile *profile = labels_profile(label); in audit_pre()
166 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, in aa_audit()

Completed in 36 milliseconds

12