chroot()

matt%ucla-locus at sri-unix.UUCP matt%ucla-locus at sri-unix.UUCP
Thu Jul 7 19:40:52 AEST 1983


From:            Matthew J. Weinstein <matt at ucla-locus>

I believe that .. can be unlinked by the super user using the unlink() call.
At that point, a link of .. to . would leave a closed subtree.
This subtree could then be used safely... (I think).

This should probably be done only in a newly created directory, since 
some code may make assumptions about the location of .. in 
the directory (first block).

			RSVP
			- Matt



More information about the Comp.unix.wizards mailing list