<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/amd64/linux32/linux.h, 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>2020-08-24T17:06:34Z</updated>
<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 r359937:</title>
<updated>2020-04-28T17:59:37Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2020-04-28T17:59:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18fec7394da653a176be797ebcdd1eaf55897f9d'/>
<id>urn:sha1:18fec7394da653a176be797ebcdd1eaf55897f9d</id>
<content type='text'>
Centralize compatability translation macros.

Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h
and replace existing definitation with includes where required. This
eliminates duplicate code and allows Linux and FreeBSD compatability
headers to be included in the same files.

Obtained from:	CheriBSD
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D24275
</content>
</entry>
<entry>
<title>MFC r347052:</title>
<updated>2019-05-22T05:32:39Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2019-05-22T05:32:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a94fdf936965ddf3b760a7af1ccb772dfedeb47'/>
<id>urn:sha1:8a94fdf936965ddf3b760a7af1ccb772dfedeb47</id>
<content type='text'>
In order to reduce duplication between MD parts of the Linuxulator
move bits that are MI out into the headers in compat/linux.
For that remove bogus _packed attribute from struct l_sockaddr
and use MI types for struct members.

And continue to move into the linux_common module a code that is
intended for both Linuxulator modules (both instruction set - 32 &amp; 64 bit)
or for external modules like linsysfs or linprocfs.

To avoid header pollution introduce new sys/compat/linux_common.h header.
</content>
</entry>
<entry>
<title>linuxulator: do not include legacy syscalls on arm64</title>
<updated>2018-06-15T14:41:51Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-06-15T14:41:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=931e2a1a6e0d8ac7d99f48eb7fc744e3a40284f0'/>
<id>urn:sha1:931e2a1a6e0d8ac7d99f48eb7fc744e3a40284f0</id>
<content type='text'>
Existing linuxulator platforms (i386, amd64) support legacy syscalls,
such as non-*at ones like open, but arm64 and other new platforms do
not.

Wrap these in #ifdef LINUX_LEGACY_SYSCALLS, #defined in the MD linux.h
files.  We may need finer grained control in the future but this is
sufficient for now.

Reviewed by:	andrew
Sponsored by:	Turing Robotic Industries
Differential Revision:	https://reviews.freebsd.org/D15237
</content>
</entry>
<entry>
<title>Rename linuxulator functions with linux_ prefix</title>
<updated>2018-03-19T21:26:32Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-03-19T21:26:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc85846736dffed97360a1c17b89f34c03e4c022'/>
<id>urn:sha1:dc85846736dffed97360a1c17b89f34c03e4c022</id>
<content type='text'>
It's preferable to have a consistent prefix.  This also reduces
differences between the three linux*_sysvec.c files.

Sponsored by:	Turing Robotic Industries Inc.
</content>
</entry>
<entry>
<title>Linuxolator whitespace cleanup</title>
<updated>2018-02-05T17:29:12Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-02-05T17:29:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=132f90c660e08037d238bb9557475b83cc9e2861'/>
<id>urn:sha1:132f90c660e08037d238bb9557475b83cc9e2861</id>
<content type='text'>
A version of each of the MD files by necessity exists for each CPU
architecture supported by the Linuxolator.  Clean these up so that new
architectures do not inherit whitespace issues.

Clean up shared Linuxolator files while here.

Sponsored by:	Turing Robotic Industries Inc.
</content>
</entry>
<entry>
<title>sys/amd64: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:03:07Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:03:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c49761dd572ca667babda4253e14498c7161e21a'/>
<id>urn:sha1:c49761dd572ca667babda4253e14498c7161e21a</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Trying to be more compatible with Linux if.h definitions:</title>
<updated>2017-04-08T14:41:39Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2017-04-08T14:41:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ece126ed8487b99874f6ecc3d0715d18ace60cd'/>
<id>urn:sha1:7ece126ed8487b99874f6ecc3d0715d18ace60cd</id>
<content type='text'>
	- renaming l_ifreq::ifru_metric to l_ifreq::ifru_ivalue;
	- adding a definition for ifr_ifindex which points to l_ifreq::ifru_ivalue.

A quick search indicates that Linux already got the above changes since 2.1.14.

Reviewed by:	kib, marcel, dchagin
MFC after:	1 week
</content>
</entry>
<entry>
<title>To reduce code duplication move socket defines to the MI path.</title>
<updated>2017-03-18T18:23:30Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2017-03-18T18:23:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=857129394dd17a5ba5fddbcf8599ec58a8182f73'/>
<id>urn:sha1:857129394dd17a5ba5fddbcf8599ec58a8182f73</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit</title>
<updated>2017-03-07T17:07:16Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2017-03-07T17:07:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ab60bc8488e95f2bdb562dc411f5698068cc6e10'/>
<id>urn:sha1:ab60bc8488e95f2bdb562dc411f5698068cc6e10</id>
<content type='text'>
related struct definitions out into the MI path.

Invert the native ipc structs to the Linux ipc structs convesion logic.
Since 64-bit variant of ipc structs has more precision convert native ipc
structs to the 64-bit Linux ipc structs and then truncate 64-bit values
into the non 64-bit if needed. Unlike Linux, return EOVERFLOW if the
values do not fit.

Fix SYSV IPC for 64-bit Linuxulator which never sets IPC_64 bit.

MFC after:	1 month
</content>
</entry>
</feed>
