Home
last modified time | relevance | path

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

/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.c99 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
134 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
194 static int label_components_match(struct aa_profile *profile, in label_components_match()
255 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
288 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms()
312 struct aa_profile *profile, unsigned int state) in aa_xattrs_match()
394 struct aa_profile *profile, *candidate = NULL; in find_attach() local
511 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
557 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
624 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()
293 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags()
316 static int match_mnt_path_str(struct aa_profile *profile, in match_mnt_path_str()
373 static int match_mnt(struct aa_profile *profile, const struct path *path, in match_mnt()
402 struct aa_profile *profile; in aa_remount() local
426 struct aa_profile *profile; in aa_bind_mount() local
463 struct aa_profile *profile; in aa_mount_change_type() local
488 struct aa_profile *profile; in aa_move_mount() local
523 struct aa_profile *profile; in aa_new_mount() local
583 static int profile_umount(struct aa_profile *profile, const 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
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
Dfile.c92 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
161 struct aa_profile *profile; in path_name() local
268 int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, in __aa_path_perm()
284 static int profile_path_perm(const char *op, struct aa_profile *profile, in profile_path_perm()
320 struct aa_profile *profile; in aa_path_perm() local
358 static int profile_path_link(struct aa_profile *profile, in profile_path_link()
467 struct aa_profile *profile; in aa_path_link() local
511 struct aa_profile *profile; in __file_path_perm() 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
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
1505 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir()
1550 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
1031 static int verify_profile(struct aa_profile *profile) in verify_profile()
1178 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()
Dlabel.c317 struct aa_profile *profile; in aa_label_destroy() local
1258 static inline bool label_is_visible(struct aa_profile *profile, in label_is_visible()
1269 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
1301 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
1359 static int label_components_match(struct aa_profile *profile, in label_components_match()
1418 int aa_label_match(struct aa_profile *profile, struct aa_label *label, in aa_label_match()
1513 struct aa_profile *profile, int flags, in aa_profile_snxprint()
1556 struct aa_profile *profile; in label_modename() local
1590 struct aa_profile *profile; in display_mode() local
1626 struct aa_profile *profile; in aa_label_snxprint() local
Dcrypto.c61 int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, in aa_calc_profile_hash()
Dlsm.c162 struct aa_profile *profile; in apparmor_capget() local
/security/apparmor/include/
Dcrypto.h25 static inline int aa_calc_profile_hash(struct aa_profile *profile, u32 version, in aa_calc_profile_hash()
Dpolicy.h216 static inline unsigned int PROFILE_MEDIATES(struct aa_profile *profile, in PROFILE_MEDIATES()
226 static inline unsigned int PROFILE_MEDIATES_AF(struct aa_profile *profile, in PROFILE_MEDIATES_AF()
296 static inline int AUDIT_MODE(struct aa_profile *profile) in AUDIT_MODE()
Dnet.h96 static inline int aa_profile_af_sk_perm(struct aa_profile *profile, in aa_profile_af_sk_perm()
Daudit.h142 struct aa_profile *profile; member
/security/tomoyo/
Dcommon.c491 (struct tomoyo_policy_namespace *ns, const unsigned int profile) in tomoyo_assign_profile()
535 const u8 profile) in tomoyo_profile()
595 struct tomoyo_profile *profile) in tomoyo_set_mode()
679 struct tomoyo_profile *profile; in tomoyo_write_profile() local
749 const struct tomoyo_profile *profile; in tomoyo_read_profile() local
2781 const u8 profile = domain->profile; in tomoyo_check_profile() local
Dutil.c992 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
1022 u8 profile; in tomoyo_init_request_info() local
Daudit.c329 const u8 profile, const u8 index, in tomoyo_get_audit()
Dcommon.h498 u8 profile; member
689 u8 profile; /* Profile number to use. */ member