<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-06-29T20:01:56Z</updated>
<entry>
<title>linux(4): Prevent integer overflow in futex_requeue.</title>
<updated>2021-06-29T20:01:56Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2021-06-10T11:23:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18b6113dfaeca9485aaf7338f0170f7b12603e53'/>
<id>urn:sha1:18b6113dfaeca9485aaf7338f0170f7b12603e53</id>
<content type='text'>
To prevent a signed integer overflow in futex_requeue add a sanity check
to catch negative values of nrwake or nrrequeue.

Approved by:	so
Security:	EN-21:22.linux_futex

(cherry picked from commit 25b09d6f398ea8a260ee8e2e8209fd76c61e13ee)
(cherry picked from commit 43a58daffe7256f0948ce895fed9fae55dec98fc)
</content>
</entry>
<entry>
<title>Fix execve/fexecve system call auditing.</title>
<updated>2020-12-01T19:34:45Z</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2020-12-01T19:34:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=30710f108d29a61635778e82f300781a097caec4'/>
<id>urn:sha1:30710f108d29a61635778e82f300781a097caec4</id>
<content type='text'>
Approved by:	so
Security:	FreeBSD-EN-20:19.audit
</content>
</entry>
<entry>
<title>MFC r364964: LinuxKPI: Implement ksize() function.</title>
<updated>2020-09-06T17:40:35Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-09-06T17:40:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70486dfaf24a3d4a12d3075f210d2c42a0e9c7c2'/>
<id>urn:sha1:70486dfaf24a3d4a12d3075f210d2c42a0e9c7c2</id>
<content type='text'>
In Linux, ksize() gets the actual amount of memory allocated for a given
object. This commit adds malloc_usable_size() to FreeBSD KPI which does
the same. It also maps LinuxKPI ksize() to newly created function.

ksize() function is used by drm-kmod.

Reviewed by:	hselasky, kib
Differential Revision:	https://reviews.freebsd.org/D26215
</content>
</entry>
<entry>
<title>MFC r363304:</title>
<updated>2020-09-01T12:09:13Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-09-01T12:09:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0bf8dd1f5c9a683ad3e33d4b9c68d6a9a504b18'/>
<id>urn:sha1:d0bf8dd1f5c9a683ad3e33d4b9c68d6a9a504b18</id>
<content type='text'>
Add a trivial linux(4) splice(2) implementation, which simply
returns EINVAL.  Fixes grep (grep-3.1-2build1).

PR:		218699
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r364346:</title>
<updated>2020-08-25T00:49:57Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-08-25T00:49:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d6df99210e4dbedb4f6d3a39089f0c70e042a882'/>
<id>urn:sha1:d6df99210e4dbedb4f6d3a39089f0c70e042a882</id>
<content type='text'>
Fix handling of ancillary data on non-AF_UNIX Linux sockets.
</content>
</entry>
<entry>
<title>MFC r362631, r364317:</title>
<updated>2020-08-24T20:02:36Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-08-24T20:02:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05e842d8294bb4c98664ef8ef689b0caf24b5112'/>
<id>urn:sha1:05e842d8294bb4c98664ef8ef689b0caf24b5112</id>
<content type='text'>
Implement an approximation of Linux MADV_DONTNEED semantics.

PR:	230160
</content>
</entry>
<entry>
<title>MFC r363087:</title>
<updated>2020-08-24T17:31:17Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-24T17:31:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bfa2fa2b279ce2c24dac8b2e480ec856fbd42fd7'/>
<id>urn:sha1:bfa2fa2b279ce2c24dac8b2e480ec856fbd42fd7</id>
<content type='text'>
Don't emit warnings on MADV_HUGEPAGE; Firefox uses it a lot.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r362440:</title>
<updated>2020-08-24T17:25:26Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-24T17:25:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=acba1850c6b2b1e1cdf86d3a8451ebbc2ed0ac91'/>
<id>urn:sha1:acba1850c6b2b1e1cdf86d3a8451ebbc2ed0ac91</id>
<content type='text'>
Add linux_madvise(2) instead of having Linux apps call the native
FreeBSD madvise(2) directly.  While some of the flag values match,
most don't.

PR:		kern/230160
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r347538 by dchagin:</title>
<updated>2020-08-24T17:06:34Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-24T17:06:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1400a5d9086e287a91c47aef3f08320562ce3c77'/>
<id>urn:sha1:1400a5d9086e287a91c47aef3f08320562ce3c77</id>
<content type='text'>
Linuxulator depends on a fundamental kernel settings such as SMP. Many
of them listed in opt_global.h which is not generated while building
modules outside of a kernel and such modules never match real cofigured
kernel.

So, we should prevent our users from building obviously defective modules.

Therefore, remove the root cause of the building of modules outside of a
kernel - the possibility of building modules with DEBUG or KTR flags.
And remove all of DEBUG printfs as it is incomplete and in threaded
programms not informative, also a half of system call does not have DEBUG
printf. For debuging Linux programms we have dtrace, ktr and ktrace ability.

PR:		222861
</content>
</entry>
<entry>
<title>MFC r362101:</title>
<updated>2020-08-24T16:44:17Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-24T16:44:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=93ec9865a5ea249043587ff68863e402838bb43b'/>
<id>urn:sha1:93ec9865a5ea249043587ff68863e402838bb43b</id>
<content type='text'>
Minor code cleanup; no functional changes.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
</feed>
