<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/jail.2, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-02-22T19:02:21Z</updated>
<entry>
<title>MFC jail: Change both root and working directories in jail_attach(2)</title>
<updated>2021-02-22T19:02:21Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2021-02-19T22:13:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ca9ab8ea17748a1758701fde262cb272fb757989'/>
<id>urn:sha1:ca9ab8ea17748a1758701fde262cb272fb757989</id>
<content type='text'>
jail_attach(2) performs an internal chroot operation, leaving it up to
the calling process to assure the working directory is inside the jail.

Add a matching internal chdir operation to the jail's root.  Also
ignore kern.chroot_allow_open_directories, and always disallow the
operation if there are any directory descriptors open.

Reported by:    mjg
Approved by:    markj, kib

(cherry picked from commit d4380c0cdd0517dc038403dd5c99242ce78bdeb5)
</content>
</entry>
<entry>
<title>Revert r337922, except for some documention-only bits.  This needs to wait</title>
<updated>2018-08-16T19:09:43Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2018-08-16T19:09:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c542c43ef1df2a13c059910afc58b49699cc72ea'/>
<id>urn:sha1:c542c43ef1df2a13c059910afc58b49699cc72ea</id>
<content type='text'>
until user is changed to stop using jail(2).

Differential Revision:	D14791
</content>
</entry>
<entry>
<title>Put jail(2) under COMPAT_FREEBSD11.  It has been the "old" way of creating</title>
<updated>2018-08-16T18:40:16Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2018-08-16T18:40:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=284001a222ae071c063920aa1c1b6477f168002d'/>
<id>urn:sha1:284001a222ae071c063920aa1c1b6477f168002d</id>
<content type='text'>
jails since FreeBSD 7.

Along with the system call, put the various security.jail.allow_foo and
security.jail.foo_allowed sysctls partly under COMPAT_FREEBSD11 (or
BURN_BRIDGES).  These sysctls had two disparate uses: on the system side,
they were global permissions for jails created via jail(2) which lacked
fine-grained permission controls; inside a jail, they're read-only
descriptions of what the current jail is allowed to do.  The first use
is obsolete along with jail(2), but keep them for the second-read-only use.

Differential Revision:	D14791
</content>
</entry>
<entry>
<title>Mark jail(2), and the sysctls that it (and only it) uses as deprecated.</title>
<updated>2016-05-30T05:21:24Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2016-05-30T05:21:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee8d6bd352e7fd23ede9349b939e051039a87d49'/>
<id>urn:sha1:ee8d6bd352e7fd23ede9349b939e051039a87d49</id>
<content type='text'>
jail(8) has long used jail_set(2), and those sysctl only cause confusion.
</content>
</entry>
<entry>
<title>Remove man page references to rndassociates.com, which has been taken over</title>
<updated>2016-02-10T14:48:49Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2016-02-10T14:48:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e94b881ba14eef3512d966581806309728527e84'/>
<id>urn:sha1:e94b881ba14eef3512d966581806309728527e84</id>
<content type='text'>
by a domain squatter.
</content>
</entry>
<entry>
<title>A new jail(8) with a configuration file, ultimately to replace the work</title>
<updated>2012-04-26T17:36:05Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2012-04-26T17:36:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=91b24c185b9235d132d9ed7b94dedf1265add481'/>
<id>urn:sha1:91b24c185b9235d132d9ed7b94dedf1265add481</id>
<content type='text'>
currently done by /etc/rc.d/jail.

MFC after:	3 months
</content>
</entry>
<entry>
<title>Remove trailing whitespace per mdoc lint warning</title>
<updated>2012-03-29T05:02:12Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-03-29T05:02:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e'/>
<id>urn:sha1:50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e</id>
<content type='text'>
Disussed with:	gavin
No objection from:	doc
Approved by:	joel
MFC after:	3 days
</content>
</entry>
<entry>
<title>Globally replace u_int*_t from (non-contributed) man pages.</title>
<updated>2012-02-12T18:29:56Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-02-12T18:29:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6b99842ada7bb3bd24c5fd4541e046994733757b'/>
<id>urn:sha1:6b99842ada7bb3bd24c5fd4541e046994733757b</id>
<content type='text'>
The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.

I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.

MFC after:	1 month
</content>
</entry>
<entry>
<title>Acknowledge that jail_attach and jail_remove can return EPERM.</title>
<updated>2012-02-08T23:34:47Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2012-02-08T23:34:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9d3a32ffdcd0279ba97723a3f3129cb46a9e968'/>
<id>urn:sha1:e9d3a32ffdcd0279ba97723a3f3129cb46a9e968</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Remove a section that went to jail(8), and fix a small grammar error.</title>
<updated>2010-10-20T21:19:36Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2010-10-20T21:19:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40229872e419203c67c100cf14a71618baeacea4'/>
<id>urn:sha1:40229872e419203c67c100cf14a71618baeacea4</id>
<content type='text'>
</content>
</entry>
</feed>
