| /security/apparmor/include/ |
| A D | cred.h | 22 static inline struct aa_label *cred_label(const struct cred *cred) in cred_label() 30 static inline void set_cred_label(const struct cred *cred, in set_cred_label() 47 static inline struct aa_label *aa_cred_raw_label(const struct cred *cred) in aa_cred_raw_label() 61 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label() 66 static inline struct aa_label *aa_get_newest_cred_label_condref(const struct cred *cred, in aa_get_newest_cred_label_condref()
|
| /security/keys/ |
| A D | process_keys.c | 77 const struct cred *cred = current_cred(); in look_up_user_keyrings() local 185 struct key *get_user_session_keyring_rcu(const struct cred *cred) in get_user_session_keyring_rcu() 317 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) in install_session_keyring_to_cred() 426 const struct cred *cred = ctx->cred; in search_cred_keyrings_rcu() local 557 const struct cred *cred = ctx->cred; in search_process_keyrings_rcu() local
|
| A D | permission.c | 26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
|
| A D | request_key.c | 80 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init() 122 const struct cred *cred = current_cred(); in call_sbin_request_key() local 268 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local
|
| A D | request_key_auth.c | 166 const struct cred *cred = current_cred(); in request_key_auth_new() local
|
| A D | key.c | 225 kuid_t uid, kgid_t gid, const struct cred *cred, in key_alloc() 820 const struct cred *cred = current_cred(); in __key_create_or_update() local
|
| A D | keyctl.c | 1177 const struct cred *cred = current_cred(); in keyctl_instantiate_key_common() local 1338 const struct cred *cred = current_cred(); in keyctl_reject_key() local 1632 struct cred *cred; in keyctl_session_to_parent() local
|
| A D | internal.h | 114 const struct cred *cred; member
|
| /security/ |
| A D | commoncap.c | 68 static inline int cap_capable_helper(const struct cred *cred, in cap_capable_helper() 124 int cap_capable(const struct cred *cred, struct user_namespace *target_ns, in cap_capable() 167 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local 204 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local 233 const struct cred *cred; in cap_capget() local 797 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real() 800 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff() 803 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid() 854 #define __cap_grew(target, source, cred) \ argument 856 #define __cap_full(field, cred) \ argument
|
| A D | security.c | 699 static int lsm_cred_alloc(struct cred *cred, gfp_t gfp) in lsm_cred_alloc() 710 static void __init lsm_early_cred(struct cred *cred) in lsm_early_cred() 1137 int security_capable(const struct cred *cred, in security_capable() 3225 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() 3244 void security_cred_free(struct cred *cred) in security_cred_free() 3623 int security_task_prlimit(const struct cred *cred, const struct cred *tcred, in security_task_prlimit() 3703 int sig, const struct cred *cred) in security_task_kill() 3761 int security_create_user_ns(const struct cred *cred) in security_create_user_ns() 4474 const struct cred *cred, in security_post_notification() 5508 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc() [all …]
|
| /security/landlock/ |
| A D | cred.h | 63 landlock_cred(const struct cred *cred) in landlock_cred() 110 landlock_get_applicable_subject(const struct cred *const cred, in landlock_get_applicable_subject()
|
| A D | cred.c | 38 static void hook_cred_free(struct cred *const cred) in hook_cred_free()
|
| A D | task.c | 340 const struct cred *cred) in hook_task_kill()
|
| /security/apparmor/ |
| A D | task.c | 226 static int profile_ptrace_perm(const struct cred *cred, in profile_ptrace_perm() 242 static int profile_tracee_perm(const struct cred *cred, in profile_tracee_perm() 254 static int profile_tracer_perm(const struct cred *cred, in profile_tracer_perm()
|
| A D | ipc.c | 78 static int profile_signal_perm(const struct cred *cred, in profile_signal_perm()
|
| A D | lsm.c | 75 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free() 84 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank() 128 const struct cred *cred; in apparmor_ptrace_access_check() local 147 const struct cred *cred; in apparmor_ptrace_traceme() local 167 const struct cred *cred; in apparmor_capget() local 195 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable() 833 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local 1028 int sig, const struct cred *cred) in apparmor_task_kill() 1055 static int apparmor_userns_create(const struct cred *cred) in apparmor_userns_create() 1130 static int unix_connect_perm(const struct cred *cred, struct aa_label *label, in unix_connect_perm() [all …]
|
| A D | file.c | 684 const struct cred *cred; member 700 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
|
| /security/selinux/ |
| A D | hooks.c | 438 const struct cred *cred) in may_context_mount_sb_relabel() 455 const struct cred *cred) in may_context_mount_inode_relabel() 640 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local 2160 const struct cred *cred = current_cred(); in selinux_quotactl() local 2195 const struct cred *cred = current_cred(); in selinux_quota_on() local 2748 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local 2758 const struct cred *cred = current_cred(); in selinux_sb_statfs() local 2772 const struct cred *cred = current_cred(); in selinux_mount() local 2784 const struct cred *cred = current_cred(); in selinux_move_mount() local 4440 int sig, const struct cred *cred) in selinux_task_kill() [all …]
|
| /security/safesetid/ |
| A D | lsm.c | 91 static int safesetid_security_capable(const struct cred *cred, in safesetid_security_capable()
|
| /security/integrity/ |
| A D | digsig.c | 102 const struct cred *cred = current_cred(); in __integrity_init_keyring() local
|
| /security/smack/ |
| A D | smack_lsm.c | 237 static int smk_bu_credfile(const struct cred *cred, struct file *file, in smk_bu_credfile() 263 #define smk_bu_credfile(cred, file, mode, RC) (RC) argument 2046 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) in smack_cred_alloc_blank() 2058 static void smack_cred_free(struct cred *cred) in smack_cred_free() 2122 static void smack_cred_getsecid(const struct cred *cred, u32 *secid) in smack_cred_getsecid() 2139 static void smack_cred_getlsmprop(const struct cred *cred, in smack_cred_getlsmprop() 2340 int sig, const struct cred *cred) in smack_task_kill() 4475 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc() 4495 const struct cred *cred, in smack_key_permission() 4635 const struct cred *cred, in smack_post_notification() [all …]
|
| A D | smack_access.c | 658 bool smack_privileged_cred(int cap, const struct cred *cred) in smack_privileged_cred()
|
| A D | smack.h | 333 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred() 407 const struct cred *cred; in smk_of_task_struct_obj() local
|
| /security/integrity/ima/ |
| A D | ima_api.c | 190 const struct cred *cred, struct lsm_prop *prop, int mask, in ima_get_action()
|
| A D | ima_policy.c | 516 const struct cred *cred) in ima_match_rule_data() 570 struct inode *inode, const struct cred *cred, in ima_match_rules() 742 const struct cred *cred, struct lsm_prop *prop, in ima_match_policy()
|