Searched refs:__task_cred (Results 1 – 25 of 31) sorted by relevance
12
/linux/security/landlock/ |
A D | cred.h | 40 return landlock_cred(__task_cred(task))->domain; in landlock_get_task_domain()
|
/linux/include/linux/ |
A D | cred.h | 320 #define __task_cred(task) \ macro 367 ___val = __task_cred((task))->xxx; \
|
/linux/security/ |
A D | commoncap.c | 141 child_cred = __task_cred(child); in cap_ptrace_access_check() 176 cred = __task_cred(parent); in cap_ptrace_traceme() 206 cred = __task_cred(target); in cap_capget() 1180 is_subset = cap_issubset(__task_cred(p)->cap_permitted, in cap_safe_nice() 1182 if (!is_subset && !ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) in cap_safe_nice()
|
/linux/kernel/ |
A D | capability.c | 300 ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NONE); in has_ns_capability() 341 ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NOAUDIT); in has_ns_capability_noaudit()
|
A D | tsacct.c | 56 tcred = __task_cred(tsk); in bacct_add_tsk()
|
A D | nsproxy.c | 402 user_ns = get_user_ns(__task_cred(tsk)->user_ns); in validate_nsset()
|
A D | cred.c | 203 cred = __task_cred((task)); in get_task_cred()
|
A D | ptrace.c | 332 tcred = __task_cred(task); in __ptrace_may_access()
|
A D | user_namespace.c | 1308 user_ns = get_user_ns(__task_cred(task)->user_ns); in userns_get()
|
A D | sys.c | 165 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() 1628 tcred = __task_cred(task); in check_prlimit_permission()
|
/linux/security/apparmor/include/ |
A D | cred.h | 76 return aa_cred_raw_label(__task_cred(task)); in __aa_task_raw_label()
|
/linux/security/yama/ |
A D | yama_lsm.c | 371 !ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) in yama_ptrace_access_check() 377 if (!ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) in yama_ptrace_access_check()
|
/linux/arch/mips/kernel/ |
A D | mips-mt-fpaff.c | 55 pcred = __task_cred(p); in check_same_owner()
|
/linux/security/apparmor/ |
A D | resource.c | 112 peer = aa_get_newest_cred_label(__task_cred(task)); in aa_task_setrlimit()
|
A D | lsm.c | 154 cred = __task_cred(target); in apparmor_capget()
|
/linux/Documentation/security/ |
A D | credentials.rst | 366 const struct cred *__task_cred(struct task_struct *task); 375 tcred = __task_cred(t); 393 The result of ``__task_cred()`` should not be passed directly to 404 __task_cred(task)->uid 405 __task_cred(task)->euid 408 need to be accessed, RCU read lock should be used, ``__task_cred()`` called,
|
/linux/block/ |
A D | ioprio.c | 43 tcred = __task_cred(task); in set_task_ioprio()
|
/linux/security/smack/ |
A D | smack.h | 416 cred = __task_cred(t); in smk_of_task_struct_obj()
|
/linux/drivers/gpu/drm/ |
A D | drm_debugfs.c | 98 uid = task ? __task_cred(task)->euid : GLOBAL_ROOT_UID; in drm_clients_info()
|
/linux/drivers/connector/ |
A D | cn_proc.c | 140 cred = __task_cred(task); in proc_id_connector()
|
/linux/fs/proc/ |
A D | array.c | 315 cred = __task_cred(p); in task_cap()
|
A D | base.c | 1836 cred = __task_cred(task); in task_dump_owner() 2532 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_write() 2571 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_show()
|
/linux/fs/ |
A D | fcntl.c | 724 cred = __task_cred(p); in sigio_perm()
|
A D | binfmt_elf_fdpic.c | 1358 cred = __task_cred(p); in fill_psinfo()
|
/linux/security/keys/ |
A D | keyctl.c | 1668 pcred = __task_cred(parent); in keyctl_session_to_parent()
|
Completed in 50 milliseconds
12