| /linux/security/apparmor/ |
| H A D | file.c | 95 int aa_audit_file(const struct cred *subj_cred, in aa_audit_file() 156 static int path_name(const char *op, const struct cred *subj_cred, in path_name() 233 int __aa_path_perm(const char *op, const struct cred *subj_cred, in __aa_path_perm() 254 static int profile_path_perm(const char *op, const struct cred *subj_cred, in profile_path_perm() 287 int aa_path_perm(const char *op, const struct cred *subj_cred, in aa_path_perm() 331 static int profile_path_link(const struct cred *subj_cred, in profile_path_link() 437 int aa_path_link(const struct cred *subj_cred, in aa_path_link() 490 static int __file_path_perm(const char *op, const struct cred *subj_cred, in __file_path_perm() 551 static int __file_sock_perm(const char *op, const struct cred *subj_cred, in __file_sock_perm() 626 int aa_file_perm(const char *op, const struct cred *subj_cred, in aa_file_perm() [all …]
|
| H A D | mount.c | 328 int aa_remount(const struct cred *subj_cred, in aa_remount() 355 int aa_bind_mount(const struct cred *subj_cred, in aa_bind_mount() 396 int aa_mount_change_type(const struct cred *subj_cred, in aa_mount_change_type() 424 int aa_move_mount(const struct cred *subj_cred, in aa_move_mount() 458 int aa_move_mount_old(const struct cred *subj_cred, struct aa_label *label, in aa_move_mount_old() 476 int aa_new_mount(const struct cred *subj_cred, struct aa_label *label, in aa_new_mount() 578 int aa_umount(const struct cred *subj_cred, struct aa_label *label, in aa_umount() 663 int aa_pivotroot(const struct cred *subj_cred, struct aa_label *label, in aa_pivotroot()
|
| H A D | domain.c | 665 static struct aa_label *profile_transition(const struct cred *subj_cred, in profile_transition() 798 static int profile_onexec(const struct cred *subj_cred, in profile_onexec() 882 static bool is_profile_priv_restricted_to_stack(const struct cred *subj_cred, in is_profile_priv_restricted_to_stack() 898 static struct aa_label *priv_restricted_transition(const struct cred *subj_cred, in priv_restricted_transition() 928 static struct aa_label *handle_onexec(const struct cred *subj_cred, in handle_onexec() 989 const struct cred *subj_cred; in apparmor_bprm_creds_for_exec() local 1119 static struct aa_label *build_change_hat(const struct cred *subj_cred, in build_change_hat() 1169 static struct aa_label *change_hat(const struct cred *subj_cred, in change_hat() 1321 const struct cred *subj_cred; in aa_change_hat() local 1449 const struct cred *subj_cred, in change_profile_perms_wrapper() [all …]
|
| H A D | resource.c | 56 static int audit_resource(const struct cred *subj_cred, in audit_resource() 88 static int profile_setrlimit(const struct cred *subj_cred, in profile_setrlimit() 114 int aa_task_setrlimit(const struct cred *subj_cred, struct aa_label *label, in aa_task_setrlimit()
|
| H A D | net.c | 276 int aa_af_perm(const struct cred *subj_cred, struct aa_label *label, in aa_af_perm() 287 int aa_label_sk_perm(const struct cred *subj_cred, struct aa_label *label, in aa_label_sk_perm() 327 int aa_sock_file_perm(const struct cred *subj_cred, struct aa_label *label, in aa_sock_file_perm()
|
| H A D | af_unix.c | 34 static int unix_fs_perm(const char *op, u32 mask, const struct cred *subj_cred, in unix_fs_perm() 446 static int aa_unix_label_sk_perm(const struct cred *subj_cred, in aa_unix_label_sk_perm() 606 static int unix_peer_perm(const struct cred *subj_cred, in unix_peer_perm() 629 int aa_unix_peer_perm(const struct cred *subj_cred, in aa_unix_peer_perm() 717 int aa_unix_file_perm(const struct cred *subj_cred, struct aa_label *label, in aa_unix_file_perm()
|
| H A D | policy.c | 882 static int policy_ns_capable(const struct cred *subj_cred, in policy_ns_capable() 907 bool aa_policy_view_capable(const struct cred *subj_cred, in aa_policy_view_capable() 927 bool aa_policy_admin_capable(const struct cred *subj_cred, in aa_policy_admin_capable() 1001 int aa_may_manage_policy(const struct cred *subj_cred, struct aa_label *label, in aa_may_manage_policy()
|
| H A D | ipc.c | 102 int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender, in aa_may_signal()
|
| H A D | capability.c | 179 int aa_capable(const struct cred *subj_cred, struct aa_label *label, in aa_capable()
|
| H A D | af_inet.c | 526 int aa_inet_file_perm(const struct cred *subj_cred, struct aa_label *label, in aa_inet_file_perm()
|
| /linux/security/apparmor/include/ |
| H A D | audit.h | 117 const struct cred *subj_cred; member
|