]> git.baikalelectronics.ru Git - kernel.git/commit
procfs: Use the proc generic infrastructure for proc/self.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 10 Jul 2010 21:52:49 +0000 (14:52 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 19 Nov 2012 11:09:34 +0000 (03:09 -0800)
commit70d41f693e143830c0e865d1876606392411f324
tree66479ae4b636517e0e54e78b4ec95acadd0aec7a
parent373fd643ebcb87ef95e698c9240260cdf5346780
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>
fs/proc/Makefile
fs/proc/base.c
fs/proc/internal.h
fs/proc/root.c
fs/proc/self.c [new file with mode: 0644]