// SPDX-License-Identifier: GPL-2.0 #include <linux/cache.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/pid_namespace.h> #include "internal.h" /* * /proc/self: */ static const char *proc_self_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) { … } static const struct inode_operations proc_self_inode_operations = …; static unsigned self_inum __ro_after_init; int proc_setup_self(struct super_block *s) { … } void __init proc_self_init(void) { … }