Lines Matching refs:cred
12 static int tomoyo_cred_alloc_blank(struct cred *new, gfp_t gfp)
18 static int tomoyo_cred_prepare(struct cred *new, const struct cred *old,
28 static void tomoyo_cred_transfer(struct cred *new, const struct cred *old)
33 static void tomoyo_cred_free(struct cred *cred)
35 struct tomoyo_domain_info *domain = cred->security;
62 * "bprm->cred->security". New reference to "struct tomoyo_domain_info"
63 * stored inside "bprm->cred->security" will be acquired later inside
67 bprm->cred->security)->users);
72 bprm->cred->security = NULL;
78 struct tomoyo_domain_info *domain = bprm->cred->security;
184 static int tomoyo_dentry_open(struct file *f, const struct cred *cred)
275 struct cred *cred = (struct cred *) current_cred();
284 cred->security = &tomoyo_kernel_domain;