<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/linux64, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>sys/modules: fix standalone build for multiple modules</title>
<updated>2025-08-23T04:58:40+00:00</updated>
<author>
<name>ShengYi Hung</name>
<email>aokblast@FreeBSD.org</email>
</author>
<published>2025-08-21T08:27:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8a847947153e60d812852e5c02de93997b2d3038'/>
<id>8a847947153e60d812852e5c02de93997b2d3038</id>
<content type='text'>
Multiple Makefile miss opt_*.h and *_if.h header file. We fix it by
running make in sys/modules to build all modules.

Approved by:    lwhsu (mentor), markj (mentor)
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52062
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multiple Makefile miss opt_*.h and *_if.h header file. We fix it by
running make in sys/modules to build all modules.

Approved by:    lwhsu (mentor), markj (mentor)
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52062
</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>sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C</title>
<updated>2024-08-20T08:49:15+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2024-08-19T12:53:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=12a6257a96007222e5441d883709fca2a28febb5'/>
<id>12a6257a96007222e5441d883709fca2a28febb5</id>
<content type='text'>
To simplify disabling the kernel sanitizers in some files add
NOSAN_CFLAGS and NOSAN_C variables. These are CFLAGS and NORMAL_C with
the sanitizer flags removed.

While here add MSAN_CFLAGS to simplify keeping KMSAN in kern_kcov.c

Reviewed by:	khng, brooks, imp, markj
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45498
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To simplify disabling the kernel sanitizers in some files add
NOSAN_CFLAGS and NOSAN_C variables. These are CFLAGS and NORMAL_C with
the sanitizer flags removed.

While here add MSAN_CFLAGS to simplify keeping KMSAN in kern_kcov.c

Reviewed by:	khng, brooks, imp, markj
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45498
</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>linux64: Fix the build on arm64 with bti checking</title>
<updated>2024-06-05T09:23:40+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2024-06-04T12:47:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bed65d85c631c3a8e60a81a15a5a745c8ef92fbe'/>
<id>bed65d85c631c3a8e60a81a15a5a745c8ef92fbe</id>
<content type='text'>
When we enable checking for BTI on arm64 we need to include an ELF
note in all object files linked into a module.

As using objcopy from a binary to an ELF object file doesn't add the
note switch to using .incbin from an assembly file. This allows us to
add the needed note without affecting the included object.

Reviewed by:	imp, kib, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45468
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we enable checking for BTI on arm64 we need to include an ELF
note in all object files linked into a module.

As using objcopy from a binary to an ELF object file doesn't add the
note switch to using .incbin from an assembly file. This allows us to
add the needed note without affecting the included object.

Reviewed by:	imp, kib, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45468
</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>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>
