<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/jail.2, branch releng/14.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-16T17:55:10+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fa9896e082a1046ff4fbc75fcba4d18d1f2efc19'/>
<id>fa9896e082a1046ff4fbc75fcba4d18d1f2efc19</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>jail: Change both root and working directories in jail_attach(2)</title>
<updated>2021-02-19T22:13:35+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2021-02-19T22:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d4380c0cdd0517dc038403dd5c99242ce78bdeb5'/>
<id>d4380c0cdd0517dc038403dd5c99242ce78bdeb5</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
MFC after:      3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
MFC after:      3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert r337922, except for some documention-only bits.  This needs to wait</title>
<updated>2018-08-16T19:09:43+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2018-08-16T19:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c542c43ef1df2a13c059910afc58b49699cc72ea'/>
<id>c542c43ef1df2a13c059910afc58b49699cc72ea</id>
<content type='text'>
until user is changed to stop using jail(2).

Differential Revision:	D14791
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
until user is changed to stop using jail(2).

Differential Revision:	D14791
</pre>
</div>
</content>
</entry>
<entry>
<title>Put jail(2) under COMPAT_FREEBSD11.  It has been the "old" way of creating</title>
<updated>2018-08-16T18:40:16+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2018-08-16T18:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=284001a222ae071c063920aa1c1b6477f168002d'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark jail(2), and the sysctls that it (and only it) uses as deprecated.</title>
<updated>2016-05-30T05:21:24+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2016-05-30T05:21:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ee8d6bd352e7fd23ede9349b939e051039a87d49'/>
<id>ee8d6bd352e7fd23ede9349b939e051039a87d49</id>
<content type='text'>
jail(8) has long used jail_set(2), and those sysctl only cause confusion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
jail(8) has long used jail_set(2), and those sysctl only cause confusion.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove man page references to rndassociates.com, which has been taken over</title>
<updated>2016-02-10T14:48:49+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2016-02-10T14:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e94b881ba14eef3512d966581806309728527e84'/>
<id>e94b881ba14eef3512d966581806309728527e84</id>
<content type='text'>
by a domain squatter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by a domain squatter.
</pre>
</div>
</content>
</entry>
<entry>
<title>A new jail(8) with a configuration file, ultimately to replace the work</title>
<updated>2012-04-26T17:36:05+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2012-04-26T17:36:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=91b24c185b9235d132d9ed7b94dedf1265add481'/>
<id>91b24c185b9235d132d9ed7b94dedf1265add481</id>
<content type='text'>
currently done by /etc/rc.d/jail.

MFC after:	3 months
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
currently done by /etc/rc.d/jail.

MFC after:	3 months
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing whitespace per mdoc lint warning</title>
<updated>2012-03-29T05:02:12+00:00</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-03-29T05:02:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e'/>
<id>50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e</id>
<content type='text'>
Disussed with:	gavin
No objection from:	doc
Approved by:	joel
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disussed with:	gavin
No objection from:	doc
Approved by:	joel
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Globally replace u_int*_t from (non-contributed) man pages.</title>
<updated>2012-02-12T18:29:56+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-02-12T18:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b99842ada7bb3bd24c5fd4541e046994733757b'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Acknowledge that jail_attach and jail_remove can return EPERM.</title>
<updated>2012-02-08T23:34:47+00:00</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2012-02-08T23:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9d3a32ffdcd0279ba97723a3f3129cb46a9e968'/>
<id>e9d3a32ffdcd0279ba97723a3f3129cb46a9e968</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
</feed>
