Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get the associated pid namespace for a file in procfs

Proto:static inline struct pid_namespace *proc_pid_ns(const struct inode *inode)

Type:struct pid_namespace

Parameter:

TypeParameterName
const struct inode *inode
149  Return s_fs_info
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