<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys, branch releng/13.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Mostly revert a5970a529c2d95271: Make files opened with O_PATH to not block non-forced unmount</title>
<updated>2022-04-19T21:03:16+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-04-13T00:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=821467b5a087bbe5ee7eac5345dbddaf7c799e7c'/>
<id>821467b5a087bbe5ee7eac5345dbddaf7c799e7c</id>
<content type='text'>
Approved by:	re (gjb)

(cherry picked from commit bf13db086b84c29ce901145f2800c561dcbf4d1e)
(cherry picked from commit 6daddc54debbf590cae17bead4864c7f640c07d0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (gjb)

(cherry picked from commit bf13db086b84c29ce901145f2800c561dcbf4d1e)
(cherry picked from commit 6daddc54debbf590cae17bead4864c7f640c07d0)
</pre>
</div>
</content>
</entry>
<entry>
<title>fd: add close_range(..., CLOSE_RANGE_CLOEXEC)</title>
<updated>2022-03-07T12:15:47+00:00</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2022-03-03T12:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=88919794940543d0b6743a035a44a51b9d8ff5d8'/>
<id>88919794940543d0b6743a035a44a51b9d8ff5d8</id>
<content type='text'>
For compatibility with Linux.

MFC after:	3 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D34424

(cherry picked from commit f3f3e3c44d3b1776653bbf19eab17ce006a815d8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For compatibility with Linux.

MFC after:	3 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D34424

(cherry picked from commit f3f3e3c44d3b1776653bbf19eab17ce006a815d8)
</pre>
</div>
</content>
</entry>
<entry>
<title>libc binuptime(): use the right function to get the most significant bit index</title>
<updated>2022-02-15T00:36:51+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-02-08T19:13:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d0199f27c06caac4ccfedc61e8b2d13b658ea589'/>
<id>d0199f27c06caac4ccfedc61e8b2d13b658ea589</id>
<content type='text'>
PR:	261781

(cherry picked from commit a1f9326607dea5ab6979935e3ca2d7402dcc7cc1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:	261781

(cherry picked from commit a1f9326607dea5ab6979935e3ca2d7402dcc7cc1)
</pre>
</div>
</content>
</entry>
<entry>
<title>execve: disallow argc == 0</title>
<updated>2022-02-10T20:21:59+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2022-01-25T22:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7393eedb039acb7890da9743a8e8322827820b2c'/>
<id>7393eedb039acb7890da9743a8e8322827820b2c</id>
<content type='text'>
The manpage has contained the following verbiage on the matter for just
under 31 years:

"At least one argument must be present in the array"

Previous to this version, it had been prefaced with the weakening phrase
"By convention."

Carry through and document it the rest of the way.  Allowing argc == 0
has been a source of security issues in the past, and it's hard to
imagine a valid use-case for allowing it.  Toss back EINVAL if we ended
up not copying in any args for *execve().

The manpage change can be considered "Obtained from: OpenBSD"

(cherry picked from commit 773fa8cd136a5775241c3e3a70f1997633ebeedf)
(cherry picked from commit c9afc7680f3e1f0510518de9de4264553a31aade)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The manpage has contained the following verbiage on the matter for just
under 31 years:

"At least one argument must be present in the array"

Previous to this version, it had been prefaced with the weakening phrase
"By convention."

Carry through and document it the rest of the way.  Allowing argc == 0
has been a source of security issues in the past, and it's hard to
imagine a valid use-case for allowing it.  Toss back EINVAL if we ended
up not copying in any args for *execve().

The manpage change can be considered "Obtained from: OpenBSD"

(cherry picked from commit 773fa8cd136a5775241c3e3a70f1997633ebeedf)
(cherry picked from commit c9afc7680f3e1f0510518de9de4264553a31aade)
</pre>
</div>
</content>
</entry>
<entry>
<title>ptrace(2): document policies affecting access to the facility</title>
<updated>2022-01-29T01:10:45+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-01-21T23:26:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5775b8b39261c1887fcaf41d74becf510ac24483'/>
<id>5775b8b39261c1887fcaf41d74becf510ac24483</id>
<content type='text'>
(cherry picked from commit a393644ecbf05e27d613426cea524e1672aa339d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit a393644ecbf05e27d613426cea524e1672aa339d)
</pre>
</div>
</content>
</entry>
<entry>
<title>kqueue(2): Add note about format of the data for NOTE_EXIT</title>
<updated>2022-01-22T00:50:23+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-01-19T22:35:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7a6364ac7733bb3225285cdbd3119d124a56a802'/>
<id>7a6364ac7733bb3225285cdbd3119d124a56a802</id>
<content type='text'>
PR:	261346

(cherry picked from commit 7406ec4ea99c1c61e88d5c98c58094093b9e78fb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:	261346

(cherry picked from commit 7406ec4ea99c1c61e88d5c98c58094093b9e78fb)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add sched_getcpu()</title>
<updated>2022-01-14T16:17:29+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-10-22T15:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a48d9f1900d48eb7222ade05df10df73097b8cca'/>
<id>a48d9f1900d48eb7222ade05df10df73097b8cca</id>
<content type='text'>
(cherry picked from commit 77b2c2f81451db8119e4ea6398fe76813db790de)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 77b2c2f81451db8119e4ea6398fe76813db790de)
</pre>
</div>
</content>
</entry>
<entry>
<title>getfh: clarify that it is a privileged operation</title>
<updated>2021-12-30T00:27:34+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2021-12-23T15:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c56c2f0fe29c91f40a3eab56c92edd9ebc211df5'/>
<id>c56c2f0fe29c91f40a3eab56c92edd9ebc211df5</id>
<content type='text'>
Reviewed by:	kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33629

(cherry picked from commit 5bc2e6e22774f4663c971a4b5b7eaf4cb9a2485e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33629

(cherry picked from commit 5bc2e6e22774f4663c971a4b5b7eaf4cb9a2485e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Document new variant of swapoff(2)</title>
<updated>2021-12-20T00:29:11+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-12-08T21:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0a50e517cdeca31397ee95ac3dcdadf379d555cd'/>
<id>0a50e517cdeca31397ee95ac3dcdadf379d555cd</id>
<content type='text'>
(cherry picked from commit 9f0fea5d033f5cd4b9b76aefe31b12c4dba25790)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 9f0fea5d033f5cd4b9b76aefe31b12c4dba25790)
</pre>
</div>
</content>
</entry>
<entry>
<title>swapoff: add one more variant of the syscall</title>
<updated>2021-12-20T00:29:11+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-12-08T21:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1791debf4ab08fea14d2ba9997fcff64b70e536a'/>
<id>1791debf4ab08fea14d2ba9997fcff64b70e536a</id>
<content type='text'>
For MFC, COMPAT_FREEBSD13 braces were removed.

(cherry picked from commit 5346570276a5ddfd5f530201fcbf24ddcc53033d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For MFC, COMPAT_FREEBSD13 braces were removed.

(cherry picked from commit 5346570276a5ddfd5f530201fcbf24ddcc53033d)
</pre>
</div>
</content>
</entry>
</feed>
