summary refs log tree commit diff
path: root/fs/proc/Makefile
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-07-10 14:52:49 -0700
committerEric W. Biederman <ebiederm@xmission.com>2012-11-19 03:09:34 -0800
commite656d8a6f7fdf7612d2f5771f0ddfca9487f59d9 (patch)
tree66479ae4b636517e0e54e78b4ec95acadd0aec7a /fs/proc/Makefile
parentdd34ad35c32bb3d16789d8d4084aead7e68a7b09 (diff)
downloadlinux-e656d8a6f7fdf7612d2f5771f0ddfca9487f59d9.tar.gz
procfs: Use the proc generic infrastructure for proc/self.
I had visions at one point of splitting proc into two filesystems.  If
that had happened proc/self being the the part of proc that actually deals
with pids would have been a nice cleanup.  As it is proc/self requires
a lot of unnecessary infrastructure for a single file.

The only user visible change is that a mounted /proc for a pid namespace
that is dead now shows a broken proc symlink, instead of being completely
invisible.  I don't think anyone will notice or care.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/proc/Makefile')
-rw-r--r--fs/proc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/Makefile b/fs/proc/Makefile
index 99349efbbc2b..981b05601931 100644
--- a/fs/proc/Makefile
+++ b/fs/proc/Makefile
@@ -21,6 +21,7 @@ proc-y	+= uptime.o
 proc-y	+= version.o
 proc-y	+= softirqs.o
 proc-y	+= namespaces.o
+proc-y	+= self.o
 proc-$(CONFIG_PROC_SYSCTL)	+= proc_sysctl.o
 proc-$(CONFIG_NET)		+= proc_net.o
 proc-$(CONFIG_PROC_KCORE)	+= kcore.o