| /security/apparmor/include/ |
| A D | cred.h | 31 struct aa_label *label) in set_cred_label() 49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label() local 124 static inline void __end_current_label_crit_section(struct aa_label *label, in __end_current_label_crit_section() 139 static inline void end_current_label_crit_section(struct aa_label *label) in end_current_label_crit_section() 160 struct aa_label *label = aa_current_raw_label(); in __begin_current_label_crit_section() local 185 struct aa_label *label = aa_current_raw_label(); in begin_current_label_crit_section() local 201 struct aa_label *label; in aa_get_current_ns() local
|
| A D | net.h | 50 struct aa_label __rcu *label; member 82 char *label; member
|
| A D | file.h | 44 struct aa_label __rcu *label; member
|
| A D | perms.h | 87 u32 label; /* label string index, if present */ member
|
| A D | policy.h | 257 struct aa_label label; member
|
| A D | label.h | 106 struct aa_label __rcu *label; member
|
| /security/apparmor/ |
| A D | label.c | 321 void aa_label_destroy(struct aa_label *label) in aa_label_destroy() 348 void aa_label_free(struct aa_label *label) in aa_label_free() 847 struct aa_label *label; in vec_find() local 866 struct aa_label *label = NULL; in vec_create_and_insert_label() local 1044 struct aa_label *label; in label_merge_insert() local 1211 struct aa_label *label = NULL; in aa_label_merge() local 1289 struct aa_label *label, in label_compound_match() 1614 struct aa_label *label, int flags) in aa_label_snxprint() 1864 struct aa_label *label, *currbase = base; in aa_label_strn_parse() local 1988 struct aa_label *label; in labelset_next_stale() local [all …]
|
| A D | secid.c | 50 static int apparmor_label_to_secctx(struct aa_label *label, in apparmor_label_to_secctx() 82 struct aa_label *label = aa_secid_to_label(secid); in apparmor_secid_to_secctx() local 89 struct aa_label *label; in apparmor_lsmprop_to_secctx() local 98 struct aa_label *label; in apparmor_secctx_to_secid() local 126 int aa_alloc_secid(struct aa_label *label, gfp_t gfp) in aa_alloc_secid()
|
| A D | file.c | 149 struct aa_label *label, in path_name() 276 struct aa_label *label, in aa_path_perm() 426 struct aa_label *label, struct dentry *old_dentry, in aa_path_link() 457 static void update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label, in update_file_ctx() 479 struct aa_label *label, in __file_path_perm() 540 struct aa_label *label, in __file_sock_perm() 570 static bool __unix_needs_revalidation(struct file *file, struct aa_label *label, in __unix_needs_revalidation() 605 struct aa_label *label, struct file *file, in aa_file_perm() 654 static void revalidate_tty(const struct cred *subj_cred, struct aa_label *label) in revalidate_tty() 685 struct aa_label *label; member [all …]
|
| A D | af_unix.c | 34 struct aa_label *label, struct path *path) in unix_fs_perm() 446 struct aa_label *label, in aa_unix_label_sk_perm() 464 struct aa_label *label; in aa_unix_sock_perm() local 491 struct aa_label *label; in aa_unix_bind_perm() local 530 struct aa_label *label; in aa_unix_listen_perm() local 551 struct aa_label *label; in aa_unix_accept_perm() local 584 struct aa_label *label; in aa_unix_opt_perm() local 601 struct aa_label *label, const char *op, u32 request, in unix_peer_perm() 624 struct aa_label *label, const char *op, u32 request, in aa_unix_peer_perm() 646 static void update_sk_ctx(struct sock *sk, struct aa_label *label, in update_sk_ctx() [all …]
|
| A D | lsm.c | 166 struct aa_label *label; in apparmor_capget() local 198 struct aa_label *label; in apparmor_capable() local 221 struct aa_label *label; in common_perm() local 366 struct aa_label *label; in apparmor_path_link() local 385 struct aa_label *label; in apparmor_path_rename() local 462 struct aa_label *label; in apparmor_file_open() local 525 struct aa_label *label; in common_file_perm() local 666 struct aa_label *label; in apparmor_uring_override_creds() local 691 struct aa_label *label; in apparmor_uring_sqpoll() local 710 struct aa_label *label; in apparmor_sb_mount() local [all …]
|
| A D | net.c | 272 int aa_af_perm(const struct cred *subj_cred, struct aa_label *label, in aa_af_perm() 284 struct aa_label *label, in aa_label_sk_perm() 308 struct aa_label *label; in aa_sk_perm() local 323 int aa_sock_file_perm(const struct cred *subj_cred, struct aa_label *label, in aa_sock_file_perm() 340 struct aa_label *label; in apparmor_secmark_init() local 393 int apparmor_secmark_check(struct aa_label *label, char *op, u32 request, in apparmor_secmark_check()
|
| A D | audit.c | 117 struct aa_label *label = ad->subj_label; in audit_pre() local 206 struct aa_label *label; member 270 struct aa_label *label; in aa_audit_rule_match() local
|
| A D | mount.c | 395 struct aa_label *label, const struct path *path, in aa_remount() 421 struct aa_label *label, const struct path *path, in aa_bind_mount() 459 struct aa_label *label, const struct path *path, in aa_mount_change_type() 486 struct aa_label *label, const struct path *from_path, in aa_move_mount() 517 int aa_move_mount_old(const struct cred *subj_cred, struct aa_label *label, in aa_move_mount_old() 535 int aa_new_mount(const struct cred *subj_cred, struct aa_label *label, in aa_new_mount() 635 int aa_umount(const struct cred *subj_cred, struct aa_label *label, in aa_umount() 716 int aa_pivotroot(const struct cred *subj_cred, struct aa_label *label, in aa_pivotroot()
|
| A D | domain.c | 129 struct aa_label *label, bool stack, in label_compound_match() 191 struct aa_label *label, bool stack, in label_components_match() 254 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match() 521 struct aa_label *label = NULL; in x_table_lookup() local 868 struct aa_label *label, in handle_onexec() 920 struct aa_label *label, *new = NULL; in apparmor_bprm_creds_for_exec() local 1106 struct aa_label *label, const char *hats[], in change_hat() 1225 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat() local 1390 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile() local
|
| A D | task.c | 46 int aa_replace_current_label(struct aa_label *label) in aa_replace_current_label() 97 void aa_set_current_onexec(struct aa_label *label, bool stack) in aa_set_current_onexec() 117 int aa_set_current_hat(struct aa_label *label, u64 token) in aa_set_current_hat()
|
| A D | policy.c | 822 struct aa_label *label, in policy_ns_capable() 847 struct aa_label *label, struct aa_ns *ns) in aa_policy_view_capable() 867 struct aa_label *label, struct aa_ns *ns) in aa_policy_admin_capable() 882 struct aa_label *label; in aa_current_policy_view_capable() local 894 struct aa_label *label; in aa_current_policy_admin_capable() local 913 int aa_may_manage_policy(const struct cred *subj_cred, struct aa_label *label, in aa_may_manage_policy() 1089 ssize_t aa_replace_profiles(struct aa_ns *policy_ns, struct aa_label *label, in aa_replace_profiles()
|
| A D | apparmorfs.c | 418 struct aa_label *label; in policy_update() local 481 struct aa_label *label; in profile_remove() local 677 struct aa_label *label, *curr; in query_data() local 768 struct aa_label *label, *curr; in query_label() local 1081 struct aa_label *label = aa_get_label_rcu(&proxy->label); in seq_profile_name_show() local 1160 struct aa_label *label; in seq_ns_stacked_show() local 1171 struct aa_label *label; in seq_ns_nsstacked_show() local 1194 struct aa_label *label; in seq_ns_level_show() local 1632 struct aa_label *label; in rawdata_get_link_base() local 1811 struct aa_label *label; in ns_mkdir_op() local [all …]
|
| A D | procattr.c | 31 int aa_getprocattr(struct aa_label *label, char **string, bool newline) in aa_getprocattr()
|
| A D | resource.c | 114 int aa_task_setrlimit(const struct cred *subj_cred, struct aa_label *label, in aa_task_setrlimit()
|
| A D | capability.c | 179 int aa_capable(const struct cred *subj_cred, struct aa_label *label, in aa_capable()
|
| A D | lib.c | 388 struct aa_label *label, in aa_profile_match_label()
|
| /security/lockdown/ |
| A D | lockdown.c | 106 const char *label = lockdown_reasons[level]; in lockdown_read() local 140 const char *label = lockdown_reasons[level]; in lockdown_write() local
|
| /security/integrity/ima/ |
| A D | ima_policy.c | 123 struct ima_rule_opt_list *label; /* Measure data grouped under this label */ member
|
| /security/smack/ |
| A D | smack_lsm.c | 1570 char *label = NULL; in smack_inode_getsecurity() local
|