/security/apparmor/ |
D | policy.c | 109 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() 259 struct aa_profile *profile; in aa_alloc_profile() local 335 struct aa_profile *profile; in aa_find_child() local 364 struct aa_profile *profile = NULL; in __lookup_parent() local 398 struct aa_profile *profile = NULL; in __lookupn_profile() local 435 struct aa_profile *profile; in aa_lookupn_profile() local [all …]
|
D | domain.c | 97 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() 387 struct aa_profile *profile, *candidate = NULL; in find_attach() local 504 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup() 550 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label() 617 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition() [all …]
|
D | mount.c | 130 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 424 struct aa_profile *profile; in aa_bind_mount() local 454 struct aa_profile *profile; in aa_mount_change_type() local 477 struct aa_profile *profile; in aa_move_mount() local 506 struct aa_profile *profile; in aa_new_mount() local 554 static int profile_umount(struct aa_profile *profile, struct path *path, in profile_umount() [all …]
|
D | capability.c | 33 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
|
D | net.c | 106 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, in aa_profile_af_perm() 135 struct aa_profile *profile; in aa_af_perm() local 152 struct aa_profile *profile; in aa_label_sk_perm() local 211 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm() 247 struct aa_profile *profile; in apparmor_secmark_check() local
|
D | ipc.c | 65 static int profile_ptrace_perm(struct aa_profile *profile, in profile_ptrace_perm() 123 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
|
D | resource.c | 52 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
|
D | file.c | 101 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file() 170 struct aa_profile *profile; in path_name() local 277 int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, in __aa_path_perm() 293 static int profile_path_perm(const char *op, struct aa_profile *profile, in profile_path_perm() 329 struct aa_profile *profile; in aa_path_perm() local 365 static int profile_path_link(struct aa_profile *profile, in profile_path_link() 474 struct aa_profile *profile; in aa_path_link() local 512 struct aa_profile *profile; in __file_path_perm() local
|
D | policy_unpack.c | 108 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface() local 474 static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) in unpack_trans_table() 543 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs() 572 static bool unpack_secmark(struct aa_ext *e, struct aa_profile *profile) in unpack_secmark() 616 static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) in unpack_rlimits() 673 struct aa_profile *profile = NULL; in unpack_profile() local 1014 static int verify_profile(struct aa_profile *profile) in verify_profile() 1062 struct aa_profile *profile = NULL; in aa_unpack() local
|
D | apparmorfs.c | 610 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 1072 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local 1083 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local 1094 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local 1110 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local 1162 struct aa_profile *profile; in seq_ns_nsstacked_show() local 1419 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir() 1464 struct aa_profile *profile, in create_profile_file() [all …]
|
D | lib.c | 290 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()
|
D | audit.c | 80 struct aa_profile *profile = labels_profile(label); in audit_pre() local 125 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, in aa_audit()
|
D | label.c | 319 struct aa_profile *profile; in label_destroy() local 1263 static inline bool label_is_visible(struct aa_profile *profile, in label_is_visible() 1274 static inline unsigned int match_component(struct aa_profile *profile, in match_component() 1306 static int label_compound_match(struct aa_profile *profile, in label_compound_match() 1364 static int label_components_match(struct aa_profile *profile, in label_components_match() 1423 int aa_label_match(struct aa_profile *profile, struct aa_label *label, in aa_label_match() 1518 struct aa_profile *profile, int flags, in aa_profile_snxprint() 1561 struct aa_profile *profile; in label_modename() local 1595 struct aa_profile *profile; in display_mode() local 1631 struct aa_profile *profile; in aa_label_snxprint() local
|
D | crypto.c | 61 int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, in aa_calc_profile_hash()
|
D | lsm.c | 152 struct aa_profile *profile; in apparmor_capget() local
|
/security/apparmor/include/ |
D | crypto.h | 25 static inline int aa_calc_profile_hash(struct aa_profile *profile, u32 version, in aa_calc_profile_hash()
|
D | policy.h | 216 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()
|
D | net.h | 96 static inline int aa_profile_af_sk_perm(struct aa_profile *profile, in aa_profile_af_sk_perm()
|
D | audit.h | 142 struct aa_profile *profile; member
|
/security/tomoyo/ |
D | common.c | 491 (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 2782 const u8 profile = domain->profile; in tomoyo_check_profile() local
|
D | util.c | 970 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode() 1000 u8 profile; in tomoyo_init_request_info() local
|
D | audit.c | 328 const u8 profile, const u8 index, in tomoyo_get_audit()
|
D | common.h | 498 u8 profile; member 689 u8 profile; /* Profile number to use. */ member
|