Home
last modified time | relevance | path

Searched refs:tcred (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/block/
Dioprio.c39 const struct cred *cred = current_cred(), *tcred; in set_task_ioprio() local
42 tcred = __task_cred(task); in set_task_ioprio()
43 if (!uid_eq(tcred->uid, cred->euid) && in set_task_ioprio()
44 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
/linux-4.19.296/include/linux/
Dsecurity.h360 int security_task_prlimit(const struct cred *cred, const struct cred *tcred,
994 const struct cred *tcred, in security_task_prlimit() argument
Dlsm_hooks.h1604 int (*task_prlimit)(const struct cred *cred, const struct cred *tcred,