<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/amd64/linux, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-05-15T00:39:25Z</updated>
<entry>
<title>linux: Fix some problems with header pollution</title>
<updated>2026-05-15T00:39:25Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-05-15T00:39:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b99954433d42d978b257e846dbfe568e9af7b140'/>
<id>urn:sha1:b99954433d42d978b257e846dbfe568e9af7b140</id>
<content type='text'>
- Avoid including sys/proc.h in linux_vdso_gtod.c.  It's not needed, but
  the implicit inclusion of sys/param.h via sys/ucred.h-&gt;bsm/audit.h was
  bringing in some required definitions.
- Include a couple of required headers: sys/time.h (for struct bintime),
  and limits.h (for INT_MAX).
- Move some helpers from linux.h, which depend on sys/param.h for NODEV,
  to the one CU where they're actually used.

No functional change intended.

Reviewed by:	imp, kib, emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D56982
</content>
</entry>
<entry>
<title>linux: address executable stack warnings</title>
<updated>2026-05-11T05:39:27Z</updated>
<author>
<name>Ryan Libby</name>
<email>rlibby@FreeBSD.org</email>
</author>
<published>2026-05-11T05:39:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bac7bd5038e09d12dfdbf79a87b25443e02d0ba9'/>
<id>urn:sha1:bac7bd5038e09d12dfdbf79a87b25443e02d0ba9</id>
<content type='text'>
Mark assembly files as not requiring executable stacks.

This still leaves linux32_vdso.so without a .note.GNU-stack section in
the gcc build for now.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D56894
</content>
</entry>
<entry>
<title>linux: Ignore sigaction(2) flags SA_UNSUPPORTED and SA_EXPOSE_TAGBITS</title>
<updated>2026-04-27T11:50:39Z</updated>
<author>
<name>Ricardo Branco</name>
<email>rbranco@suse.de</email>
</author>
<published>2026-04-26T09:44:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fdea83a5f63b881ade91c6cc9dfbf173137512c5'/>
<id>urn:sha1:fdea83a5f63b881ade91c6cc9dfbf173137512c5</id>
<content type='text'>
SA_UNSUPPORTED was introduced in Linux 5.11 to probe support
for other flags such as SA_EXPOSE_TAGBITS, introduced
at the same time. Ignore both.

Signed-off-by:	Ricardo Branco &lt;rbranco@suse.de&gt;
PR:		289285
Reviewed by:	pouria, kib
Pull-Request:	https://github.com/freebsd/freebsd-src/pull/2163
</content>
</entry>
<entry>
<title>linux: make sysent for membarrier</title>
<updated>2026-04-22T19:16:44Z</updated>
<author>
<name>Ricardo Branco</name>
<email>rbranco@suse.de</email>
</author>
<published>2026-04-18T10:18:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=81f60a964a50b9c22361bb811be9ca089561e80c'/>
<id>urn:sha1:81f60a964a50b9c22361bb811be9ca089561e80c</id>
<content type='text'>
Regenerate linux syscall prototypes for membarrier(2).

Signed-off-by:	Ricardo Branco &lt;rbranco@suse.de&gt;
PR:		281691
Reviewed by:	kib, pouria
Pull-Request:	https://github.com/freebsd/freebsd-src/pull/2147
</content>
</entry>
<entry>
<title>linux: Add support for membarrier(2)</title>
<updated>2026-04-22T19:15:30Z</updated>
<author>
<name>Ricardo Branco</name>
<email>rbranco@suse.de</email>
</author>
<published>2026-04-18T10:11:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1594fe0b1029f246b3a14c8b21637091968362aa'/>
<id>urn:sha1:1594fe0b1029f246b3a14c8b21637091968362aa</id>
<content type='text'>
FreeBSD has a native membarrier(2) syscall which is mostly compatible
with Linux. This is a thin wrapper around kern_membarrier() that
translates all available commands and flags.

Also update the syscalls.master prototypes to match the Linux 5.10+
three-argument form.  Pre-5.10 binaries using the two-argument form
continue to work: cpu_id is only consulted for RSEQ commands, which
FreeBSD does not support and which kern_membarrier() rejects with
EINVAL, matching Linux semantics.

Signed-off-by:	Ricardo Branco &lt;rbranco@suse.de&gt;
PR:		281691
Reviewed by:	kib, pouria
Pull-Request:	https://github.com/freebsd/freebsd-src/pull/2147
</content>
</entry>
<entry>
<title>imgact: Mark brandinfo and note structures as const</title>
<updated>2025-10-14T13:32:25Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-10-14T13:31:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80336636b6b9f7a3bdad007c400e85eae017d2a2'/>
<id>urn:sha1:80336636b6b9f7a3bdad007c400e85eae017d2a2</id>
<content type='text'>
No functional change intended.

Reviewed by:	olce, kib, emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D53062
</content>
</entry>
<entry>
<title>linux: Regenerate system call definitions</title>
<updated>2025-07-04T14:42:34Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-06-06T13:25:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7025d3a3f17f3c91bc14be1a9e66722949bf915'/>
<id>urn:sha1:d7025d3a3f17f3c91bc14be1a9e66722949bf915</id>
<content type='text'>
Sponsored by:	Klara, Inc.
</content>
</entry>
<entry>
<title>linux: Add inotify support</title>
<updated>2025-07-04T14:42:34Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-06-06T13:25:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3965de642c29d831649c8307203303de560d721a'/>
<id>urn:sha1:3965de642c29d831649c8307203303de560d721a</id>
<content type='text'>
Implement the Linux inotify system calls using the native implementation
in vfs_inotify.c.

PR:		240874
Reviewed by:	brooks
MFC after:	3 months
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D50761
</content>
</entry>
<entry>
<title>sys: Add AT_HWCAP3 and AT_HWCAP4</title>
<updated>2025-06-24T16:26:40Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2025-06-24T14:56:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=85007872d1227006adf2ce119fe30de856cbe12d'/>
<id>urn:sha1:85007872d1227006adf2ce119fe30de856cbe12d</id>
<content type='text'>
It is likely we will need these on arm64. Add them in preparation for
flags in these to be added at some point in the future.

Reviewed by:	brooks, imp, kib
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D51005
</content>
</entry>
<entry>
<title>machine/stdarg.h -&gt; sys/stdarg.h</title>
<updated>2025-06-11T16:39:02Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-06-11T16:39:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e453e498cbb88570a3ff7b3679de65c88707da95'/>
<id>urn:sha1:e453e498cbb88570a3ff7b3679de65c88707da95</id>
<content type='text'>
Switch to using sys/stdarg.h for va_list type and va_* builtins.

Make an attempt to insert the include in a sensible place.  Where
style(9) was followed this is easy, where it was ignored, aim for the
first block of sys/*.h headers and don't get too fussy or try to fix
other style bugs.

Reviewed by:	imp
Exp-run by:	antoine (PR 286274)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1595
</content>
</entry>
</feed>
