/security/keys/ |
D | process_keys.c | 46 const struct cred *cred; in install_user_keyrings() local 219 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) in install_session_keyring_to_cred() 326 const struct cred *cred) in search_my_process_keyrings() 443 const struct cred *cred) in search_process_keyrings() 526 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 274 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local 355 const struct cred *cred = current_cred(); in construct_alloc_key() local 532 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 | 225 kuid_t uid, kgid_t gid, const struct cred *cred, in key_alloc() 785 const struct cred *cred = current_cred(); in key_create_or_update() local
|
D | keyctl.c | 1017 const struct cred *cred = current_cred(); in keyctl_instantiate_key_common() local 1191 const struct cred *cred = current_cred(); in keyctl_reject_key() local 1482 struct cred *cred; in keyctl_session_to_parent() local
|
D | keyring.c | 260 const struct cred *cred, key_perm_t perm, in keyring_alloc() 317 const struct cred *cred, in keyring_search_aux()
|
D | internal.h | 188 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() 155 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local 187 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local 216 const struct cred *cred; in cap_capget() local 640 const struct cred *cred = current_cred(); in cap_bprm_secureexec() local
|
D | security.c | 196 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable() 202 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit() 784 int security_file_open(struct file *file, const struct cred *cred) in security_file_open() 808 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() 813 void security_cred_free(struct cred *cred) in security_cred_free() 1403 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc() 1415 const struct cred *cred, key_perm_t perm) in security_key_permission()
|
D | capability.c | 372 static int cap_file_open(struct file *file, const struct cred *cred) in cap_file_open() 386 static int cap_cred_alloc_blank(struct cred *cred, gfp_t gfp) in cap_cred_alloc_blank() 391 static void cap_cred_free(struct cred *cred) in cap_cred_free() 869 static int cap_key_alloc(struct key *key, const struct cred *cred, in cap_key_alloc() 879 static int cap_key_permission(key_ref_t key_ref, const struct cred *cred, in cap_key_permission()
|
/security/selinux/ |
D | hooks.c | 165 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security() local 179 static inline u32 cred_sid(const struct cred *cred) in cred_sid() 352 const struct cred *cred) in may_context_mount_sb_relabel() 369 const struct cred *cred) in may_context_mount_inode_relabel() 587 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local 1500 static int cred_has_capability(const struct cred *cred, in cred_has_capability() 1549 static int inode_has_perm(const struct cred *cred, in inode_has_perm() 1572 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm() 1587 static inline int path_has_perm(const struct cred *cred, in path_has_perm() 1607 static int file_has_perm(const struct cred *cred, in file_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_file_open(struct file *file, const struct cred *cred) in apparmor_file_open() 512 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local 881 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_file_open(struct file *f, const struct cred *cred) in tomoyo_file_open() 548 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 | 1354 static int smack_file_open(struct file *file, const struct cred *cred) in smack_file_open() 1376 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) in smack_cred_alloc_blank() 1395 static void smack_cred_free(struct cred *cred) in smack_cred_free() 3155 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc() 3183 const struct cred *cred, key_perm_t perm) in smack_key_permission() 3574 struct cred *cred; in smack_init() local
|
/security/integrity/ima/ |
D | ima_policy.c | 168 const struct cred *cred = current_cred(); in ima_match_rules() local
|