<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_util.c, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-02-27T18:15:25Z</updated>
<entry>
<title>linux(4): Move use_real_names knob to the linux.c</title>
<updated>2023-02-27T18:15:25Z</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=8fd0f86abdfa8b98facb22649cb03545d0cf0df6'/>
<id>urn:sha1:8fd0f86abdfa8b98facb22649cb03545d0cf0df6</id>
<content type='text'>
MI linux.[c|h] are the module independent in terms of the Linux emulation
layer (ie, intended for both ISA - 32 &amp; 64 bit), analogue of MD linux.h.
There must be a code here that cannot be placed into the corresponding by
common sense MI source and header files, i.e., code is machine independent,
but ISA dependent.
For the use_real_names knob, the code must be placed into the
linux_socket.[c|h], however linux_socket is ISA dependent.

Approved by:		re (cperciva)
MFC after:		2 weeks

(cherry picked from commit 32fdc75fe7276083d446964055b0de0e29970b7c)
(cherry picked from commit 884ea80d4ebbd2d8ff03d56eddc1dc64d49be908)
</content>
</entry>
<entry>
<title>Adjust linux_get_char_devices() definition to avoid clang 15 warning</title>
<updated>2022-07-27T19:17:22Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2022-07-24T21:46:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a2fb0df3b79f52dc1b455e53c74118645d4b178'/>
<id>urn:sha1:6a2fb0df3b79f52dc1b455e53c74118645d4b178</id>
<content type='text'>
With clang 15, the following -Werror warning is produced:

    sys/compat/linux/linux_util.c:243:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    linux_get_char_devices()
                          ^
                           void

This is because linux_get_char_devices() is declared with a (void)
argument list, but defined with an empty argument list. Make the
definition match the declaration.

MFC after:	3 days

(cherry picked from commit e90d1b57487759e076b16cd3903a7b69565452b9)
</content>
</entry>
<entry>
<title>linux: remove the always curthread argument from lconvpath</title>
<updated>2022-06-17T19:33:39Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2021-11-25T21:42:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=753605353d79d1dde655779273013b6400daaaf7'/>
<id>urn:sha1:753605353d79d1dde655779273013b6400daaaf7</id>
<content type='text'>
(cherry picked from commit af4051d25055fee086c0f78421e68fec20640f17)
</content>
</entry>
<entry>
<title>linux(4): Eliminate unused includes.</title>
<updated>2022-06-17T19:33:18Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2021-07-29T09:46:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71c876b6c1e41168e696d79ffd373d48bb6bfa3e'/>
<id>urn:sha1:71c876b6c1e41168e696d79ffd373d48bb6bfa3e</id>
<content type='text'>
MFC after:		2 weeks

(cherry picked from commit b9c89fa39e1e20e9929eeec76c745f80e74e68a4)
</content>
</entry>
<entry>
<title>linux(4): Reimplement futexes using umtx.</title>
<updated>2022-06-17T19:33:17Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2021-07-29T09:43:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=02d2ef1dd78b3d3adfac2fbe9bd913ee3c4d6eaf'/>
<id>urn:sha1:02d2ef1dd78b3d3adfac2fbe9bd913ee3c4d6eaf</id>
<content type='text'>
Differential Revision:	https://reviews.freebsd.org/D31236
MFC after:		2 weeks

(cherry picked from commit 0dc38e33031b353468888fe25a6f8ba1f910dd26)
</content>
</entry>
<entry>
<title>linux: add sysctl to pass untranslated interface names</title>
<updated>2022-03-28T08:49:23Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-01-08T15:41:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c7655e1f3671a9ce7d963cb577b4548173469053'/>
<id>urn:sha1:c7655e1f3671a9ce7d963cb577b4548173469053</id>
<content type='text'>
Reviewed by:	kib
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D33792

(cherry picked from commit 1f70a85b4cbc3ad19cec4a390e8754e54815be85)
</content>
</entry>
<entry>
<title>Move V4L feature declarations and DTrace provider definitions from</title>
<updated>2020-12-06T10:58:55Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2020-12-06T10:58:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77fb6b6644446beb0ea45085b953f464c729c049'/>
<id>urn:sha1:77fb6b6644446beb0ea45085b953f464c729c049</id>
<content type='text'>
linux_common.c to linux_util.c so they become available on i386.

linux_common.c defines the linux_common kernel module but this module does
not exist on i386 and linux_common.c is not included in the linux module.
linux_util.c is included in the linux_common module on amd64 and the linux
module on i386.

Remove linux_common.c from files.i386 again.  It was added recently in
r367433 when the DTrace provider definitions were moved.

The V4L feature declarations were moved to linux_common in r283423.
</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>Fix potential race condition in linux stat(2).</title>
<updated>2020-10-20T17:19:10Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-10-20T17:19:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a34e9fad6b6d894eb81002bd966684be1d1fe86'/>
<id>urn:sha1:1a34e9fad6b6d894eb81002bd966684be1d1fe86</id>
<content type='text'>
Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25618
</content>
</entry>
<entry>
<title>Add compat.linux.debug sysctl, to make it possible to silence down</title>
<updated>2020-06-12T14:37:50Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-06-12T14:37:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=462171d9aa00f863df65ac49836c9f3cc7e55a9c'/>
<id>urn:sha1:462171d9aa00f863df65ac49836c9f3cc7e55a9c</id>
<content type='text'>
the debug messages. While here, clean up some variable naming.

Reviewed by:	bcr (manpages), emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25230
</content>
</entry>
</feed>
