|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: David Laight (david_at_l8s.co.uk)
Date: Thu Oct 31 2002 - 12:21:46 CST
> > Have I missed something?
>
> -C. And if I'm not wrong, thats positional, so potentially multiple -Cs.
>
-C ?
You could always vfork and do the chroot in the child.....
Alternatively root can move its chroot point...
Actually netbsd chroot seems to have fixed the easy escape,
can fchroot be used instead:
fd = open("/",..);
chroot(path);
....
fchroot(fd);
David
-- David Laight: davidl8s.co.uk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
l8s.co.uk