#include <linux/proc_fs.h>
#include <linux/nsproxy.h>
#include <linux/ptrace.h>
#include <linux/namei.h>
#include <linux/file.h>
#include <linux/utsname.h>
#include <net/net_namespace.h>
#include <linux/ipc_namespace.h>
#include <linux/pid_namespace.h>
#include <linux/user_namespace.h>
#include "internal.h"
static const struct proc_ns_operations *ns_entries[] = …;
static const char *proc_ns_get_link(struct dentry *dentry,
struct inode *inode,
struct delayed_call *done)
{ … }
static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen)
{ … }
static const struct inode_operations proc_ns_link_inode_operations = …;
static struct dentry *proc_ns_instantiate(struct dentry *dentry,
struct task_struct *task, const void *ptr)
{ … }
static int proc_ns_dir_readdir(struct file *file, struct dir_context *ctx)
{ … }
const struct file_operations proc_ns_dir_operations = …;
static struct dentry *proc_ns_dir_lookup(struct inode *dir,
struct dentry *dentry, unsigned int flags)
{ … }
const struct inode_operations proc_ns_dir_inode_operations = …;