函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\pid.c Create Date:2022-07-27 10:28:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:find_vpid

函数原型:struct pid *find_vpid(int nr)

返回类型:struct pid

参数:

类型参数名称
intnr
311  返回:find_pid_ns(nr, 取进程的空间)
调用者
名称描述
kill_something_infokill_something_info() interprets pid in interesting ways just like kill(2).* POSIX specifies that kill(-1,sig) is unspecified, but what we have* is probably wrong. Should make it like BSD or SYSV.
SYSCALL_DEFINE3
SYSCALL_DEFINE2Ugh. To avoid negative return values, "getpriority()" will* not return the normal nice-value, but a negated value that* has been offset by 20 (ie it returns 40..1 instead of -20..19)* to stay compatible.
SYSCALL_DEFINE2This needs some heavy checking
find_get_pid
good_sigevent
bpf_task_fd_query
SYSCALL_DEFINE2
f_setown_ex
kill_proc_info
SYSCALL_DEFINE3
f_setown