Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\exit.c Create Date:2022-07-28 09:03:39
Last Modify:2020-03-17 11:17:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pidfd_get_pid

Proto:static struct pid *pidfd_get_pid(unsigned int fd)

Type:struct pid

Parameter:

TypeParameterName
unsigned intfd
1478  f = fdget(fd)
1479  If Not file Then Return ERR_PTR( - EBADF)
1482  pid = pidfd_pid(file)
1483  If Not IS_ERR(pid) Then get_pid(pid)
1486  fdput(f)
1487  Return pid
Caller
NameDescribe
kernel_waitid