phk e1c9acedca Add a sysctl variable which can help stop chroot(2) escapes.
kern.chroot_allow_open_directories = 0
	chroot(2) fails if there are open directories.

kern.chroot_allow_open_directories = 1 (default)
	chroot(2) fails if there are open directories and the process
	is subject of a previous chroot(2).

kern.chroot_allow_open_directories = anything else
	filedescriptors are not checked.  (old behaviour).

I'm very interested in reports about software which breaks when
running with the default setting.
1999-03-23 14:26:40 +00:00
..
1999-03-23 05:07:56 +00:00
1999-01-27 04:35:02 +00:00
1999-01-29 11:39:24 +00:00
1998-06-30 18:06:23 +00:00
1999-03-23 05:07:56 +00:00
1998-10-11 17:14:56 +00:00
1999-03-02 22:53:24 +00:00
1998-12-27 15:04:33 +00:00
1998-12-27 15:04:33 +00:00