Home
last modified time | relevance | path

Searched defs:profile (Results 1 – 25 of 245) sorted by relevance

12345678910

/kernel/linux/linux-5.10/security/apparmor/
Dpolicy.c109 static void __add_profile(struct list_head *list, struct aa_profile *profile) in __add_profile()
138 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile()
154 static void __remove_profile(struct aa_profile *profile) in __remove_profile()
176 struct aa_profile *profile, *tmp; in __aa_profile_list_release() local
205 void aa_free_profile(struct aa_profile *profile) in aa_free_profile()
260 struct aa_profile *profile; in aa_alloc_profile() local
336 struct aa_profile *profile; in aa_find_child() local
365 struct aa_profile *profile = NULL; in __lookup_parent() local
399 struct aa_profile *profile = NULL; in __lookupn_profile() local
436 struct aa_profile *profile; in aa_lookupn_profile() local
[all …]
Ddomain.c97 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
132 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
192 static int label_components_match(struct aa_profile *profile, in label_components_match()
253 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
286 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms()
310 struct aa_profile *profile, unsigned int state) in aa_xattrs_match()
392 struct aa_profile *profile, *candidate = NULL; in find_attach() local
509 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
555 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
622 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
[all …]
Dmount.c130 static int audit_mount(struct aa_profile *profile, const char *op, in audit_mount()
292 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags()
315 static int match_mnt_path_str(struct aa_profile *profile, in match_mnt_path_str()
372 static int match_mnt(struct aa_profile *profile, const struct path *path, in match_mnt()
401 struct aa_profile *profile; in aa_remount() local
425 struct aa_profile *profile; in aa_bind_mount() local
462 struct aa_profile *profile; in aa_mount_change_type() local
487 struct aa_profile *profile; in aa_move_mount() local
522 struct aa_profile *profile; in aa_new_mount() local
582 static int profile_umount(struct aa_profile *profile, struct path *path, in profile_umount()
[all …]
Dcapability.c33 struct aa_profile *profile; member
64 static int audit_caps(struct common_audit_data *sa, struct aa_profile *profile, in audit_caps()
114 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
149 struct aa_profile *profile; in aa_capable() local
Dnet.c108 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, in aa_profile_af_perm()
137 struct aa_profile *profile; in aa_af_perm() local
154 struct aa_profile *profile; in aa_label_sk_perm() local
213 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm()
249 struct aa_profile *profile; in apparmor_secmark_check() local
Dipc.c63 static int profile_ptrace_perm(struct aa_profile *profile, in profile_ptrace_perm()
121 struct aa_profile *profile; in aa_may_ptrace() local
187 static int profile_signal_perm(struct aa_profile *profile, in profile_signal_perm()
210 struct aa_profile *profile; in aa_may_signal() local
Dfile.c90 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
159 struct aa_profile *profile; in path_name() local
266 int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, in __aa_path_perm()
282 static int profile_path_perm(const char *op, struct aa_profile *profile, in profile_path_perm()
318 struct aa_profile *profile; in aa_path_perm() local
356 static int profile_path_link(struct aa_profile *profile, in profile_path_link()
465 struct aa_profile *profile; in aa_path_link() local
509 struct aa_profile *profile; in __file_path_perm() local
Dresource.c52 static int audit_resource(struct aa_profile *profile, unsigned int resource, in audit_resource()
81 static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, in profile_setrlimit()
107 struct aa_profile *profile; in aa_task_setrlimit() local
Dapparmorfs.c608 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
665 struct aa_profile *profile; in query_data() local
754 struct aa_profile *profile; in query_label() local
1068 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local
1079 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local
1090 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local
1106 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local
1158 struct aa_profile *profile; in seq_ns_nsstacked_show() local
1503 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir()
1548 struct aa_profile *profile, in create_profile_file()
[all …]
Dpolicy_unpack.c109 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface() local
477 static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) in unpack_trans_table()
546 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs()
575 static bool unpack_secmark(struct aa_ext *e, struct aa_profile *profile) in unpack_secmark()
619 static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) in unpack_rlimits()
676 struct aa_profile *profile = NULL; in unpack_profile() local
1020 static int verify_profile(struct aa_profile *profile) in verify_profile()
1167 struct aa_profile *profile = NULL; in aa_unpack() local
Dlib.c290 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
381 void aa_profile_match_label(struct aa_profile *profile, struct aa_label *label, in aa_profile_match_label()
395 int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, in aa_profile_label_perm()
429 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
Daudit.c78 struct aa_profile *profile = labels_profile(label); in audit_pre() local
123 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, in aa_audit()
/kernel/linux/linux-4.19/security/apparmor/
Dpolicy.c114 static void __add_profile(struct list_head *list, struct aa_profile *profile) in __add_profile()
143 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile()
159 static void __remove_profile(struct aa_profile *profile) in __remove_profile()
181 struct aa_profile *profile, *tmp; in __aa_profile_list_release() local
210 void aa_free_profile(struct aa_profile *profile) in aa_free_profile()
261 struct aa_profile *profile; in aa_alloc_profile() local
337 struct aa_profile *profile; in aa_find_child() local
366 struct aa_profile *profile = NULL; in __lookup_parent() local
400 struct aa_profile *profile = NULL; in __lookupn_profile() local
437 struct aa_profile *profile; in aa_lookupn_profile() local
[all …]
Ddomain.c101 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
136 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
196 static int label_components_match(struct aa_profile *profile, in label_components_match()
257 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
290 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms()
314 struct aa_profile *profile, unsigned int state) in aa_xattrs_match()
391 struct aa_profile *profile, *candidate = NULL; in find_attach() local
508 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
554 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
621 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
[all …]
Dmount.c133 static int audit_mount(struct aa_profile *profile, const char *op, in audit_mount()
295 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags()
318 static int match_mnt_path_str(struct aa_profile *profile, in match_mnt_path_str()
375 static int match_mnt(struct aa_profile *profile, const struct path *path, in match_mnt()
404 struct aa_profile *profile; in aa_remount() local
426 struct aa_profile *profile; in aa_bind_mount() local
456 struct aa_profile *profile; in aa_mount_change_type() local
479 struct aa_profile *profile; in aa_move_mount() local
508 struct aa_profile *profile; in aa_new_mount() local
556 static int profile_umount(struct aa_profile *profile, struct path *path, in profile_umount()
[all …]
Dcapability.c37 struct aa_profile *profile; member
68 static int audit_caps(struct common_audit_data *sa, struct aa_profile *profile, in audit_caps()
118 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
153 struct aa_profile *profile; in aa_capable() local
Dipc.c69 static int profile_ptrace_perm(struct aa_profile *profile, in profile_ptrace_perm()
127 struct aa_profile *profile; in aa_may_ptrace() local
191 static int profile_signal_perm(struct aa_profile *profile, in profile_signal_perm()
214 struct aa_profile *profile; in aa_may_signal() local
Dfile.c105 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
174 struct aa_profile *profile; in path_name() local
281 int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, in __aa_path_perm()
297 static int profile_path_perm(const char *op, struct aa_profile *profile, in profile_path_perm()
333 struct aa_profile *profile; in aa_path_perm() local
369 static int profile_path_link(struct aa_profile *profile, in profile_path_link()
478 struct aa_profile *profile; in aa_path_link() local
516 struct aa_profile *profile; in __file_path_perm() local
Dresource.c56 static int audit_resource(struct aa_profile *profile, unsigned int resource, in audit_resource()
85 static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, in profile_setrlimit()
111 struct aa_profile *profile; in aa_task_setrlimit() local
Dnet.c109 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, in aa_profile_af_perm()
138 struct aa_profile *profile; in aa_af_perm() local
155 struct aa_profile *profile; in aa_label_sk_perm() local
Dapparmorfs.c610 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
667 struct aa_profile *profile; in query_data() local
756 struct aa_profile *profile; in query_label() local
1070 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local
1081 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local
1092 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local
1108 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local
1160 struct aa_profile *profile; in seq_ns_nsstacked_show() local
1417 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir()
1462 struct aa_profile *profile, in create_profile_file()
[all …]
Dpolicy_unpack.c112 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface() local
460 static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) in unpack_trans_table()
529 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs()
558 static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) in unpack_rlimits()
615 struct aa_profile *profile = NULL; in unpack_profile() local
947 static int verify_profile(struct aa_profile *profile) in verify_profile()
995 struct aa_profile *profile = NULL; in aa_unpack() local
Dlib.c294 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
385 void aa_profile_match_label(struct aa_profile *profile, struct aa_label *label, in aa_profile_match_label()
399 int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, in aa_profile_label_perm()
433 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
Daudit.c84 struct aa_profile *profile = labels_profile(label); in audit_pre() local
129 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, in aa_audit()
Dlabel.c323 struct aa_profile *profile; in label_destroy() local
1267 static inline bool label_is_visible(struct aa_profile *profile, in label_is_visible()
1278 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
1310 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
1368 static int label_components_match(struct aa_profile *profile, in label_components_match()
1427 int aa_label_match(struct aa_profile *profile, struct aa_label *label, in aa_label_match()
1522 struct aa_profile *profile, int flags, in aa_profile_snxprint()
1565 struct aa_profile *profile; in label_modename() local
1599 struct aa_profile *profile; in display_mode() local
1635 struct aa_profile *profile; in aa_label_snxprint() local

12345678910