Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:16:10
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kill_as_cred_perm

Proto:static inline bool kill_as_cred_perm(const struct cred *cred, struct task_struct *target)

Type:bool

Parameter:

TypeParameterName
const struct cred *cred
struct task_struct *target
1467  pcred = __task_cred - Access a task's objective credentials*@task: The task to query* Access the objective credentials of a task. The caller must hold the RCU* readlock.* The result of this function should not be passed directly to get_cred();(target)
1469  Return uid_eq( effective UID of the task , saved UID of the task ) || uid_eq( effective UID of the task , real UID of the task ) || uid_eq( real UID of the task , saved UID of the task ) || uid_eq( real UID of the task , real UID of the task )
Caller
NameDescribe
kill_pid_usb_asyncioThe usb asyncio usage of siginfo is wrong