continuing anyway.
At the very end of chroot(), could it just
vrele(fdp-fd_cdir);
fdp-fd_cdir = nd.ni_vp;
before it returns, setting the current dir to the same place it
just chrooted to?
--
Carol Deihl - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote
in the source now, I'm just not too
familiar with it... :-) )
Carol
You have to examine ALL fd's in case one has a directory open that is
outside the chroot..
(see man fchdir(2))
We do. See source.
--
Carol Deihl - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network
of chroot(), could it just
vrele(fdp-fd_cdir);
fdp-fd_cdir = nd.ni_vp;
before it returns, setting the current dir to the same place it
just chrooted to?
Carol
--
Carol Deihl - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network Admin, Security, Internet Software
3 matches
Mail list logo