- moved pid==0 handling into getprocentry-legacy.c and access /proc/self
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 17 Oct 2003 20:27:12 +0000 (20:27 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 17 Oct 2003 20:27:12 +0000 (20:27 +0000)
commitdb07ac9c353b6f8461418e12053db8bb6bc32374
treec7ffc2a501833febbb227b592fc428de73c9349b
parent355372269ad547cc59e9a30f3bf8cc447a27c468
- moved pid==0 handling into getprocentry-legacy.c and access /proc/self
  instead of /proc/<self-pid> there; this solves problems when 'fakeinit'
  flag is used
- removed '#include <compat.h>'; it's now in global <config.h>

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@193 94cd875c-1c1d-0410-91d2-eb244daf1a30
util-vserver/lib/getctx.c
util-vserver/lib/getinitpid.c
util-vserver/lib/getprocentry-legacy.c