函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pid.h Create Date:2022-07-27 06:40:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:设置进程信息

函数原型:static inline struct pid_namespace *ns_of_pid(struct pid *pid)

返回类型:struct pid_namespace

参数:

类型参数名称
struct pid *pid
144  struct pid_namespace * ns = NULL
145  如果pidns等于进程所处空间
147  返回:ns
调用者
名称描述
copy_process创建进程
access_pidfd_pidnsVerify that the signaler and signalee either are in the same pid namespace* or that the signaler's pid namespace is an ancestor of the signalee's pid* namespace.
task_active_pid_ns取进程的空间
__do_notifyThe next function is only to split too long sys_mq_timedsend