Home
last modified time | relevance | path

Searched defs:subj_cred (Results 1 – 8 of 8) sorted by relevance

/linux/security/apparmor/
H A Dfile.c95 int aa_audit_file(const struct cred *subj_cred, in aa_audit_file()
148 static int path_name(const char *op, const struct cred *subj_cred, in path_name()
221 int __aa_path_perm(const char *op, const struct cred *subj_cred, in __aa_path_perm()
242 static int profile_path_perm(const char *op, const struct cred *subj_cred, in profile_path_perm()
275 int aa_path_perm(const char *op, const struct cred *subj_cred, in aa_path_perm()
319 static int profile_path_link(const struct cred *subj_cred, in profile_path_link()
425 int aa_path_link(const struct cred *subj_cred, in aa_path_link()
478 static int __file_path_perm(const char *op, const struct cred *subj_cred, in __file_path_perm()
539 static int __file_sock_perm(const char *op, const struct cred *subj_cred, in __file_sock_perm()
604 int aa_file_perm(const char *op, const struct cred *subj_cred, in aa_file_perm()
[all …]
H A Ddomain.c659 static struct aa_label *profile_transition(const struct cred *subj_cred, in profile_transition()
792 static int profile_onexec(const struct cred *subj_cred, in profile_onexec()
867 static struct aa_label *handle_onexec(const struct cred *subj_cred, in handle_onexec()
921 const struct cred *subj_cred; in apparmor_bprm_creds_for_exec() local
1055 static struct aa_label *build_change_hat(const struct cred *subj_cred, in build_change_hat()
1105 static struct aa_label *change_hat(const struct cred *subj_cred, in change_hat()
1223 const struct cred *subj_cred; in aa_change_hat() local
1351 const struct cred *subj_cred, in change_profile_perms_wrapper()
1397 const struct cred *subj_cred = get_current_cred(); in aa_change_profile() local
H A Dresource.c56 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 Daf_unix.c33 static int unix_fs_perm(const char *op, u32 mask, const struct cred *subj_cred, in unix_fs_perm()
445 static int aa_unix_label_sk_perm(const struct cred *subj_cred, in aa_unix_label_sk_perm()
600 static int unix_peer_perm(const struct cred *subj_cred, in unix_peer_perm()
623 int aa_unix_peer_perm(const struct cred *subj_cred, in aa_unix_peer_perm()
709 int aa_unix_file_perm(const struct cred *subj_cred, struct aa_label *label, in aa_unix_file_perm()
H A Dpolicy.c821 static int policy_ns_capable(const struct cred *subj_cred, in policy_ns_capable()
846 bool aa_policy_view_capable(const struct cred *subj_cred, in aa_policy_view_capable()
866 bool aa_policy_admin_capable(const struct cred *subj_cred, in aa_policy_admin_capable()
913 int aa_may_manage_policy(const struct cred *subj_cred, struct aa_label *label, in aa_may_manage_policy()
H A Dipc.c102 int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender, in aa_may_signal()
H A Dcapability.c179 int aa_capable(const struct cred *subj_cred, struct aa_label *label, in aa_capable()
/linux/security/apparmor/include/
H A Daudit.h116 const struct cred *subj_cred; member