Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\pid.c Create Date:2022-07-28 09:28:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_vpid

Proto:struct pid *find_vpid(int nr)

Type:struct pid

Parameter:

TypeParameterName
intnr
311  Return find_pid_ns(nr, task_active_pid_ns(current process))
Caller
NameDescribe
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