Subject: Re: kern/36996: procfs exposes real path when used inside chroot
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 09/17/2007 14:10:07
The following reply was made to PR kern/36996; it has been noted by GNATS.
From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/36996: procfs exposes real path when used inside chroot
Date: Mon, 17 Sep 2007 16:08:05 +0200
sounds familiar:
Module Name: src
Committed By: salo
Date: Sat Mar 3 01:18:33 UTC 2007
Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c
Log Message:
Don't prepend rootvnode to the path in non-NULL case for exe links.
It breaks procfs in chroot.
from <christos>, tested by me.
To generate a diff of this commit:
cvs rdiff -r1.151 -r1.152 src/sys/miscfs/procfs/procfs_vnops.c
could you please test with this change applied?
--
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --