<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_mib.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:25Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bc80996974a61a4223eae4c1ccd47b6ee32a48a'/>
<id>urn:sha1:3bc80996974a61a4223eae4c1ccd47b6ee32a48a</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-07-25T15:13:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=caa41f641755c935b036e17440a3b49329c904ed'/>
<id>urn:sha1:caa41f641755c935b036e17440a3b49329c904ed</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
</content>
</entry>
<entry>
<title>linux(4): Cleanup includes under compat/linux</title>
<updated>2023-03-01T08:42:34Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-02-14T14:46:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dd082cbf8cd4bcdf125657090ab424c808d51ff8'/>
<id>urn:sha1:dd082cbf8cd4bcdf125657090ab424c808d51ff8</id>
<content type='text'>
Cleanup unneeded includes, sort the rest according to style(9).
No functional changes.

MFC after:		2 weeks

(cherry picked from commit d8e53d94fae90cf3c83db5af0eaba0be0f55e00a)
</content>
</entry>
<entry>
<title>linux: Make compat.linux.preserve_vstatus default to 1</title>
<updated>2022-02-14T19:35:25Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2022-01-17T08:44:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37671ee46dbfba7ebb55eca096a5faabf2b43abd'/>
<id>urn:sha1:37671ee46dbfba7ebb55eca096a5faabf2b43abd</id>
<content type='text'>
From a user point of view, this makes ^T work out of the box.

Reviewed By:	debdrup (man page)
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D33842

(cherry picked from commit b896bdb86d832d07ae397b340a56beb1a14ff980)
</content>
</entry>
<entry>
<title>Change the return type of sv__setid_allowed from bool to int</title>
<updated>2021-06-13T01:22:33Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-06-06T20:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af3dce614155dd3264c7248e0fd082d2c214890a'/>
<id>urn:sha1:af3dce614155dd3264c7248e0fd082d2c214890a</id>
<content type='text'>
(cherry picked from commit 62b8258a7e43f3c774f13eab758b2cfdf353073e)
</content>
</entry>
<entry>
<title>linuxolator: Add compat.linux.setid_allowed knob</title>
<updated>2021-06-13T01:22:33Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-01-14T13:51:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc107fe1f939c7d4c5575868202b4cd3edf3e846'/>
<id>urn:sha1:dc107fe1f939c7d4c5575868202b4cd3edf3e846</id>
<content type='text'>
PR:	21463

(cherry picked from commit 598f6fb49c9ca688029b79de0a44227ab79c608c)
</content>
</entry>
<entry>
<title> - add more linux socket options (sorted by value)</title>
<updated>2020-11-08T09:50:58Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2020-11-08T09:50:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ec6c4a38bfc988f6300ed6c37a8db352f983329'/>
<id>urn:sha1:8ec6c4a38bfc988f6300ed6c37a8db352f983329</id>
<content type='text'>
 - map those IPv4 / IPv6 socket options which exist in FreeBSD
   + most of them visually verified to have the same type/layout of arguments
   + not tested with linux programs to behave as intended
 - be more human readable for known options which are not handled
 - be more verbose for unhandled socket message flags we know about
 - print the jail ID in linux_msg if run in a jail
 - add possibility to print debug message about known missing parts only once
 - add multiple levels of sysctl linux.debug:
   1: print debug messages, tell about unimplemented stuff (only once)
   2: like 1, but also print messages about implemented but not tested
      stuff (only once)
   3+: like 2, but no rate limiting of messages
 - increase default linux debug level from 1 to 3

We are a lot more verbose in as we need to be (e.g. some of the IP socket
options which are the same, and share the same memory layout, and are
believed to work). The reason is that we have no good testsuite to test those
linux-bits. The LTP or other test suites like the python one, are not fully
up to the task we need. As such the excessive messages about emulated but not
tested socket options.

IMO any MFC (possible, but most probably not by me) should set the default
debug level to 1.

Discussed with:	trasz
</content>
</entry>
<entry>
<title>Add compat.linux.dummy_rlimits, and disable by default.</title>
<updated>2020-10-18T15:58:16Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-10-18T15:58:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54669eb7798916a704cb1f676919686c880ab985'/>
<id>urn:sha1:54669eb7798916a704cb1f676919686c880ab985</id>
<content type='text'>
Turns out the dummy rlimits fix prlimit(1), but break su(8)
(login-1:4.5-1ubuntu2) - although not sudo(8), for some reason.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D26814
</content>
</entry>
<entry>
<title>Set default stack size for Linux apps to 8MB.  This matches Linux'</title>
<updated>2020-10-16T11:23:30Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-10-16T11:23:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1c34dcb5325a19a983812abf137de47fc051ece8'/>
<id>urn:sha1:1c34dcb5325a19a983812abf137de47fc051ece8</id>
<content type='text'>
defaults, makes core files smaller, and fixes applications which use
pthread_join(3) in a wrong way, namely Steam.

This is based on a patch submitted by Jason Yang, which I've reworked
to set the limit instead of only changing the value reported (which
is enough to fix the bug for Linux pthreads, but could be confusing).

PR:		248225
Submitted by:	Jason_YH_Yang at wistron.com (earlier version)
Analyzed by:	Alex S &lt;iwtcex@gmail.com&gt;
Reviewed by:	emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D26778
</content>
</entry>
<entry>
<title>linux: add sysctl compat.linux.use_emul_path</title>
<updated>2020-08-18T22:04:22Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-08-18T22:04:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a125ed50a6c82329997ecf4df593056a8a616cbe'/>
<id>urn:sha1:a125ed50a6c82329997ecf4df593056a8a616cbe</id>
<content type='text'>
This is a step towards facilitating jails with only Linux binaries.
Supporting emul_path adds path lookups which are completely spurious
if the binary at hand runs in a Linux-based root directory.

It defaults to on (== current behavior).

make -C /root/linux-5.3-rc8 -s -j 1 bzImage:

use_emul_path=1: 101.65s user 68.68s system 100% cpu 2:49.62 total
use_emul_path=0: 101.41s user 64.32s system 100% cpu 2:45.02 total
</content>
</entry>
</feed>
