函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:16:08
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kill_as_cred_perm

函数原型:static inline bool kill_as_cred_perm(const struct cred *cred, struct task_struct *target)

返回类型:bool

参数:

类型参数名称
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  返回:uid_eq(有效uid, 保留uid)或uid_eq(有效uid, 进程uid)或uid_eq(进程uid, 保留uid)或uid_eq(进程uid, 进程uid)
调用者
名称描述
kill_pid_usb_asyncioThe usb asyncio usage of siginfo is wrong