<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/amd64/linux, 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-05-26T19:38:41Z</updated>
<entry>
<title>amd64/linux*: add required header to get the constant value</title>
<updated>2021-05-26T19:38:41Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-05-25T22:19:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc74f783f9af4ae611abeb79533a18c274b87005'/>
<id>urn:sha1:bc74f783f9af4ae611abeb79533a18c274b87005</id>
<content type='text'>
Otherwise asm silently interpret it as the external global symbol.

Approved by:	so
Security:	FreeBSD-SA-21:11.smap
Security:	CVE-2021-29628
Reported by:	bz
Sponsored by:	The FreeBSD Foundation
Fixes:	91aae953cb80

(cherry picked from commit a59f0285377aa3d61cccda64e9ade126ecb3d2d9)
(cherry picked from commit b25bb77861640456a77fbf6f34cac4a3b69f0e5f)
</content>
</entry>
<entry>
<title>amd64: clear PSL.AC in the right frame</title>
<updated>2021-05-26T19:38:13Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-05-22T19:48:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb4435255df53118082b3567db6da100962b3822'/>
<id>urn:sha1:bb4435255df53118082b3567db6da100962b3822</id>
<content type='text'>
If copyin family of routines fault, kernel does clear PSL.AC on the
fault entry, but the AC flag of the faulted frame is kept intact.  Since
onfault handler is effectively jump, AC survives until syscall exit.

Approved by:	so
Security:	FreeBSD-SA-21:11.smap
Security:	CVE-2021-29628
Reported by:	m00nbsd, via Sony
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
admbugs:	975

(cherry picked from commit 91aae953cb807d6fb7a70782b323bf9beb60d7c9)
(cherry picked from commit 4590f0345956329d414611c6cee300f486732b53)
</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 r363305:</title>
<updated>2020-09-01T12:11:59Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-09-01T12:11:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=891564a31aa5087bfdc1702f30eede0ce37b004a'/>
<id>urn:sha1:891564a31aa5087bfdc1702f30eede0ce37b004a</id>
<content type='text'>
Regen after r363304.

Sponsored by:	The FreeBSD Foundation
</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 r362441:</title>
<updated>2020-08-24T17:29:37Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-24T17:29:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e385029a839180d41e4e4a884f2daae43484f45b'/>
<id>urn:sha1:e385029a839180d41e4e4a884f2daae43484f45b</id>
<content type='text'>
Regen after r362440.

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 r353725 by yuripv:</title>
<updated>2020-08-23T21:48:57Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-23T21:48:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e97be8305dc65e2b4457f5ea811567dd0f1a778b'/>
<id>urn:sha1:e97be8305dc65e2b4457f5ea811567dd0f1a778b</id>
<content type='text'>
linux: futex_mtx should follow futex_list

Move futex_mtx to linux_common.ko for amd64 and aarch64 along
with respective list/mutex init/destroy.

PR:		240989
Reported by:	Alex S &lt;iwtcex@gmail.com&gt;
</content>
</entry>
<entry>
<title>MFC r350451 by emaste:</title>
<updated>2020-08-23T21:38:48Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-23T21:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=292ba8e2c3383164259023899bcf83bfe8336517'/>
<id>urn:sha1:292ba8e2c3383164259023899bcf83bfe8336517</id>
<content type='text'>
linuxulator: rename linux_locore.s to .asm

It is assembled using "${CC} -x assembler-with-cpp", which by convention
(bsd.suffixes.mk) uses the .asm extension.

This is a portion of the review referenced below (D18344).  That review
also renamed linux_support.s to .S, but that is a functional change
(using the compiler's integrated assembler instead of as) and will be
revisited separately.

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