/security/keys/ |
D | process_keys.c | 47 const struct cred *cred; in install_user_keyrings() local 223 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) in install_session_keyring_to_cred() 335 const struct cred *cred) in search_my_process_keyrings() 456 const struct cred *cred) in search_process_keyrings() 539 const struct cred *cred; in lookup_user_key() local
|
D | request_key.c | 74 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init() 116 const struct cred *cred = current_cred(); in call_sbin_request_key() local 273 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local 354 const struct cred *cred = current_cred(); in construct_alloc_key() local 523 const struct cred *cred = current_cred(); in request_key_and_link() local
|
D | request_key_auth.c | 137 const struct cred *cred = current->cred; in request_key_auth_new() local 242 const struct cred *cred = current_cred(); in key_get_instantiation_authkey() local
|
D | permission.c | 30 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
|
D | key.c | 232 uid_t uid, gid_t gid, const struct cred *cred, in key_alloc() 777 const struct cred *cred = current_cred(); in key_create_or_update() local
|
D | keyctl.c | 965 const struct cred *cred = current_cred(); in keyctl_instantiate_key_common() local 1139 const struct cred *cred = current_cred(); in keyctl_reject_key() local 1429 struct cred *cred, *oldcred; in keyctl_session_to_parent() local
|
D | keyring.c | 246 const struct cred *cred, unsigned long flags, in keyring_alloc() 305 const struct cred *cred, in keyring_search_aux()
|
D | internal.h | 185 const struct cred *cred; member
|
D | proc.c | 185 const struct cred *cred = current_cred(); in proc_keys_show() local
|
/security/ |
D | commoncap.c | 80 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable() 146 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local 178 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local 207 const struct cred *cred; in cap_capget() local 591 const struct cred *cred = current_cred(); in cap_bprm_secureexec() local
|
D | security.c | 180 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable() 186 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit() 724 int security_dentry_open(struct file *file, const struct cred *cred) in security_dentry_open() 745 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() 750 void security_cred_free(struct cred *cred) in security_cred_free() 1301 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc() 1313 const struct cred *cred, key_perm_t perm) in security_key_permission()
|
D | capability.c | 371 static int cap_dentry_open(struct file *file, const struct cred *cred) in cap_dentry_open() 385 static int cap_cred_alloc_blank(struct cred *cred, gfp_t gfp) in cap_cred_alloc_blank() 390 static void cap_cred_free(struct cred *cred) in cap_cred_free() 843 static int cap_key_alloc(struct key *key, const struct cred *cred, in cap_key_alloc() 853 static int cap_key_permission(key_ref_t key_ref, const struct cred *cred, in cap_key_permission()
|
/security/selinux/ |
D | hooks.c | 153 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security() local 167 static inline u32 cred_sid(const struct cred *cred) in cred_sid() 340 const struct cred *cred) in may_context_mount_sb_relabel() 357 const struct cred *cred) in may_context_mount_inode_relabel() 575 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local 1457 static int cred_has_capability(const struct cred *cred, in cred_has_capability() 1509 static int inode_has_perm(const struct cred *cred, in inode_has_perm() 1529 static int inode_has_perm_noadp(const struct cred *cred, in inode_has_perm_noadp() 1546 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm() 1563 static inline int path_has_perm(const struct cred *cred, in path_has_perm() [all …]
|
/security/apparmor/ |
D | lsm.c | 49 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free() 58 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank() 120 const struct cred *cred; in apparmor_capget() local 139 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable() 376 static int apparmor_dentry_open(struct file *file, const struct cred *cred) in apparmor_dentry_open() 520 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local 888 struct cred *cred = (struct cred *)current->real_cred; in set_init_cxt() local
|
D | domain.c | 65 const struct cred *cred = NULL; in may_change_ptraced_domain() local 618 const struct cred *cred; in aa_change_hat() local 752 const struct cred *cred; in aa_change_profile() local
|
D | ipc.c | 100 const struct cred *cred = get_task_cred(tracer); in aa_ptrace() local
|
/security/tomoyo/ |
D | tomoyo.c | 59 static void tomoyo_cred_free(struct cred *cred) in tomoyo_cred_free() 329 static int tomoyo_dentry_open(struct file *f, const struct cred *cred) in tomoyo_dentry_open() 546 struct cred *cred = (struct cred *) current_cred(); in tomoyo_init() local
|
D | securityfs_if.c | 73 struct cred *cred = prepare_creds(); in tomoyo_write_self() local
|
/security/apparmor/include/ |
D | context.h | 109 static inline struct aa_profile *aa_cred_profile(const struct cred *cred) in aa_cred_profile()
|
/security/smack/ |
D | smack_lsm.c | 1360 static int smack_dentry_open(struct file *file, const struct cred *cred) in smack_dentry_open() 1382 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) in smack_cred_alloc_blank() 1401 static void smack_cred_free(struct cred *cred) in smack_cred_free() 3263 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc() 3291 const struct cred *cred, key_perm_t perm) in smack_key_permission() 3690 struct cred *cred; in smack_init() local
|
/security/integrity/ima/ |
D | ima_policy.c | 103 const struct cred *cred = current_cred(); in ima_match_rules() local
|