Lines Matching refs:cred
278 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
279 Each task points to its credentials by a pointer called 'cred' in its
300 To alter anything in the cred struct, the copy-and-replace principle must be
338 const struct cred *current_cred()
370 const struct cred *get_current_cred(void);
373 actually live in struct cred:
394 const struct cred *__task_cred(struct task_struct *task);
400 const struct cred *tcred;
415 const struct cred *get_task_cred(struct task_struct *task);
445 where 'member' is a non-pointer member of the cred struct. For instance:
449 will retrieve 'struct cred::suid' from the task, doing the appropriate RCU
464 struct cred *prepare_creds(void);
483 int commit_creds(struct cred *new);
487 commit the new credentials to current->cred, it will release
504 void abort_creds(struct cred *new);
514 struct cred *new;
537 (*) void put_cred(const struct cred *cred);
543 (*) const struct cred *get_cred(const struct cred *cred);
548 (*) struct cred *get_new_cred(struct cred *cred);
565 contents of the cred struct pointed to, barring the exceptions listed above