Lines Matching refs:cred
1032 char *tsp = tsk->cred->security;
1087 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp)
1089 cred->security = NULL;
1096 * @cred: the credentials in question
1102 static void smack_cred_free(struct cred *cred)
1104 cred->security = NULL;
1115 static int smack_cred_prepare(struct cred *new, const struct cred *old,
1129 static void smack_cred_transfer(struct cred *new, const struct cred *old)
1141 static int smack_kernel_act_as(struct cred *new, u32 secid)
1160 static int smack_kernel_create_files_as(struct cred *new,
2377 struct cred *new;
2814 * @cred: the credentials to use
2821 static int smack_key_alloc(struct key *key, const struct cred *cred,
2824 key->security = cred->security;
2842 * @cred: the credentials to use
2849 const struct cred *cred, key_perm_t perm)
2866 if (cred->security == NULL)
2873 return smk_access(cred->security, keyp->security,
3209 struct cred *cred;
3219 cred = (struct cred *) current->cred;
3220 cred->security = &smack_known_floor.smk_known;