<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/linux, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>linux: Add required symbol to EXPORT_SYMS list</title>
<updated>2025-12-29T16:39:28+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-11-28T21:25:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e2093de47251de5e6e61c08d2955251137afd01'/>
<id>3e2093de47251de5e6e61c08d2955251137afd01</id>
<content type='text'>
PR:		291270
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		291270
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "modules: Add missing opt_*.h files for stand-alone compile"</title>
<updated>2024-10-17T18:52:32+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-10-17T18:49:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f11c79fc0046c1579faf7cdf6505c51846cc5709'/>
<id>f11c79fc0046c1579faf7cdf6505c51846cc5709</id>
<content type='text'>
This reverts commit 1a37caeb076b9d31e13c54691d7f1eeb589798bb.

I'd overlooked 06c07e1203324bfe8ab4526c82dbb750864272d5 when I updated a
branch I'd previously committed but not updated. My search for this in
my tree before the commit was to a stale file...

Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 1a37caeb076b9d31e13c54691d7f1eeb589798bb.

I'd overlooked 06c07e1203324bfe8ab4526c82dbb750864272d5 when I updated a
branch I'd previously committed but not updated. My search for this in
my tree before the commit was to a stale file...

Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>modules: Add missing opt_*.h files for stand-alone compile</title>
<updated>2024-10-12T20:40:41+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-10-12T20:40:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1a37caeb076b9d31e13c54691d7f1eeb589798bb'/>
<id>1a37caeb076b9d31e13c54691d7f1eeb589798bb</id>
<content type='text'>
Standalone compile that we at least create these opt_*.h files.

Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Standalone compile that we at least create these opt_*.h files.

Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: Make module standalone-buildable</title>
<updated>2024-05-11T22:35:54+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-05-11T22:35:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c5f906d32d2bc8e37f1e1911382e27af7e6240ff'/>
<id>c5f906d32d2bc8e37f1e1911382e27af7e6240ff</id>
<content type='text'>
Add opt_inet.h and opt_usb.h to make linux module buildable standalone.

Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add opt_inet.h and opt_usb.h to make linux module buildable standalone.

Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>sanitizers: Avoid building genassym.c and genoffset.c with sanitizers</title>
<updated>2024-01-12T21:09:14+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-10-10T18:14:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8e1a7e29b6cc276a2763e61b5f61afebd4570bba'/>
<id>8e1a7e29b6cc276a2763e61b5f61afebd4570bba</id>
<content type='text'>
Some, particularly KASAN, may insert redzones around global symbols,
resulting in incorrect offset definitions because genassym.sh (ab)uses
symbol sizes to assign semantic meaning.

(Ideally I would be able to define this pattern in one place, but I
haven't found a way to define a GENSYM_CFLAGS that actually works for
all of the consumers (kern.post.mk, kmod.mk, sys/conf/files*).)

MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some, particularly KASAN, may insert redzones around global symbols,
resulting in incorrect offset definitions because genassym.sh (ab)uses
symbol sizes to assign semantic meaning.

(Ideally I would be able to define this pattern in one place, but I
haven't found a way to define a GENSYM_CFLAGS that actually works for
all of the consumers (kern.post.mk, kmod.mk, sys/conf/files*).)

MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: ${CFLAGS:N-flto} -&gt; ${CFLAGS:N-flto*}</title>
<updated>2023-12-26T23:31:51+00:00</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2023-12-26T23:24:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c6ae97c44d4dc0d90d20bec3235a6484912767a1'/>
<id>c6ae97c44d4dc0d90d20bec3235a6484912767a1</id>
<content type='text'>
For the same reason as the original https://reviews.freebsd.org/D9659:
-flto=&lt;N&gt;, -flto=full, and -flto=thin also produce the GIMPLE/bitcode
which is not supported by genassym, so filter those out as well.

Signed-off-by: Alex Xu (Hello71) &lt;alex_y_xu@yahoo.ca&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/898
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the same reason as the original https://reviews.freebsd.org/D9659:
-flto=&lt;N&gt;, -flto=full, and -flto=thin also produce the GIMPLE/bitcode
which is not supported by genassym, so filter those out as well.

Signed-off-by: Alex Xu (Hello71) &lt;alex_y_xu@yahoo.ca&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/898
</pre>
</div>
</content>
</entry>
<entry>
<title>netlink: move NETLINK define to opt_global.h</title>
<updated>2023-10-13T07:23:47+00:00</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2023-10-12T19:55:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ab393e9548f8cc0ee28499c411963b798ebb38a5'/>
<id>ab393e9548f8cc0ee28499c411963b798ebb38a5</id>
<content type='text'>
Move the NETLINK define into opt_global.h so we can rely on it being
set correctly, without having to remember to include opt_netlink.h.
This ensures that the NETLINK define is correctly set. If not we
may end up with unloadable modules, due to missing symbols (such as
nlmsg_get_group_writer).

PR:		274306
Reviewed by:	imp, markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42179
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the NETLINK define into opt_global.h so we can rely on it being
set correctly, without having to remember to include opt_netlink.h.
This ensures that the NETLINK define is correctly set. If not we
may end up with unloadable modules, due to missing symbols (such as
nlmsg_get_group_writer).

PR:		274306
Reviewed by:	imp, markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42179
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Implement xattr syscalls</title>
<updated>2023-07-22T11:03:33+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-07-22T11:03:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=22dca7acf7756c07d3ccbfdc8dfd10fd9ad3f9cf'/>
<id>22dca7acf7756c07d3ccbfdc8dfd10fd9ad3f9cf</id>
<content type='text'>
Reviewed by:
Differential revision:	https://reviews.freebsd.org/D35544
MFC after:		1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:
Differential revision:	https://reviews.freebsd.org/D35544
MFC after:		1 month
</pre>
</div>
</content>
</entry>
</feed>
