Searched defs:subj_cred (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/security/apparmor/ |
H A D | mount.c | 132 static int audit_mount(const struct cred *subj_cred, in audit_mount() 303 static int match_mnt_path_str(const struct cred *subj_cred, in match_mnt_path_str() 365 static int match_mnt(const struct cred *subj_cred, in match_mnt() 394 int aa_remount(const struct cred *subj_cred, in aa_remount() 420 int aa_bind_mount(const struct cred *subj_cred, in aa_bind_mount() 458 int aa_mount_change_type(const struct cred *subj_cred, in aa_mount_change_type() 485 int aa_move_mount(const struct cred *subj_cred, 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() 601 static int profile_umount(const struct cred *subj_cred, in profile_umount() [all …]
|
H A D | file.c | 94 int aa_audit_file(const struct cred *subj_cred, in aa_audit_file() 160 static int path_name(const char *op, const struct cred *subj_cred, in path_name() 228 static int __aa_path_perm(const char *op, const struct cred *subj_cred, in __aa_path_perm() 249 static int profile_path_perm(const char *op, const struct cred *subj_cred, in profile_path_perm() 282 int aa_path_perm(const char *op, const struct cred *subj_cred, in aa_path_perm() 326 static int profile_path_link(const struct cred *subj_cred, in profile_path_link() 433 int aa_path_link(const struct cred *subj_cred, in aa_path_link() 484 static int __file_path_perm(const char *op, const struct cred *subj_cred, in __file_path_perm() 545 static int __file_sock_perm(const char *op, const struct cred *subj_cred, in __file_sock_perm() 584 int aa_file_perm(const char *op, const struct cred *subj_cred, in aa_file_perm() [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() 115 int aa_task_setrlimit(const struct cred *subj_cred, struct aa_label *label, in aa_task_setrlimit()
|
H A D | domain.c | 629 static struct aa_label *profile_transition(const struct cred *subj_cred, in profile_transition() 731 static int profile_onexec(const struct cred *subj_cred, in profile_onexec() 807 static struct aa_label *handle_onexec(const struct cred *subj_cred, in handle_onexec() 875 const struct cred *subj_cred; in apparmor_bprm_creds_for_exec() local 1009 static struct aa_label *build_change_hat(const struct cred *subj_cred, in build_change_hat() 1059 static struct aa_label *change_hat(const struct cred *subj_cred, in change_hat() 1177 const struct cred *subj_cred; in aa_change_hat() local 1289 const struct cred *subj_cred, in change_profile_perms_wrapper() 1334 const struct cred *subj_cred = get_current_cred(); in aa_change_profile() local
|
H A D | net.c | 138 int aa_af_perm(const struct cred *subj_cred, struct aa_label *label, in aa_af_perm() 149 static int aa_label_sk_perm(const struct cred *subj_cred, in aa_label_sk_perm() 189 int aa_sock_file_perm(const struct cred *subj_cred, struct aa_label *label, in aa_sock_file_perm()
|
H A D | policy.c | 765 static int policy_ns_capable(const struct cred *subj_cred, in policy_ns_capable() 790 bool aa_policy_view_capable(const struct cred *subj_cred, in aa_policy_view_capable() 810 bool aa_policy_admin_capable(const struct cred *subj_cred, in aa_policy_admin_capable() 857 int aa_may_manage_policy(const struct cred *subj_cred, struct aa_label *label, in aa_may_manage_policy()
|
H A D | ipc.c | 103 int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender, in aa_may_signal()
|
H A D | capability.c | 154 int aa_capable(const struct cred *subj_cred, struct aa_label *label, in aa_capable()
|
/openbmc/linux/security/apparmor/include/ |
H A D | audit.h | 112 const struct cred *subj_cred; member
|