Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pid_has_task

Proto:static inline bool pid_has_task(struct pid *pid, enum pid_type type)

Type:bool

Parameter:

TypeParameterName
struct pid *pid
enum pid_typetype
90  Return Not hlist_empty( & lists of tasks that use this pid [type])
Caller
NameDescribe
pidfd_show_fdinfopidfd_show_fdinfo - print information about a pidfd*@m: proc fdinfo file*@f: file referencing a pidfd* Pid:* This function will print the pid that a given pidfd refers to in the* pid namespace of the procfs instance
do_wait
__change_pid
SYSCALL_DEFINE2pidfd_open() - Open new pid file descriptor.*@pid: pid for which to retrieve a pidfd*@flags: flags to pass* This creates a new pid file descriptor with the O_CLOEXEC flag set for* the process identified by @pid. Currently, the process identified by