<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/tools/syscalls/scripts/libsys_h.lua, branch releng/15.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>sysent: add a new NORETURN type flag</title>
<updated>2025-08-08T09:30:17+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-08-08T09:30:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=202ac0975edcc4729e7016a9e9cb921de45e3a70'/>
<id>202ac0975edcc4729e7016a9e9cb921de45e3a70</id>
<content type='text'>
System calls of type NORETURN don't return and their stubs are declare
not to.

Reviewed by:	kevans, kib
Differential Revision:	https://reviews.freebsd.org/D51673
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
System calls of type NORETURN don't return and their stubs are declare
not to.

Reviewed by:	kevans, kib
Differential Revision:	https://reviews.freebsd.org/D51673
</pre>
</div>
</content>
</entry>
<entry>
<title>sysent: add a NOLIB modifer to prevent stub generation</title>
<updated>2024-11-01T15:44:47+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-10-30T22:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bbc0f33b1317bb922ff3d960216ce7b4af88b8af'/>
<id>bbc0f33b1317bb922ff3d960216ce7b4af88b8af</id>
<content type='text'>
The yield system call has long existed, but never had a stub.  Replace
the hardcoded checks for it in libsys_h.lua and syscalls_map.lua and
stop inserting it into MIASM (requiring libsys/Makefile.sys to disable
the stub).

(This seems like overkill, but I've got another case in CheriBSD so this
reduces my diff appreciably.)

Reviewed by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1503
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The yield system call has long existed, but never had a stub.  Replace
the hardcoded checks for it in libsys_h.lua and syscalls_map.lua and
stop inserting it into MIASM (requiring libsys/Makefile.sys to disable
the stub).

(This seems like overkill, but I've got another case in CheriBSD so this
reduces my diff appreciably.)

Reviewed by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1503
</pre>
</div>
</content>
</entry>
<entry>
<title>sys/tools/syscalls: desupport capabilities.conf</title>
<updated>2024-10-30T21:04:31+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-10-22T17:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ec86d763d1c94648419aeb931683dcb37bf72656'/>
<id>ec86d763d1c94648419aeb931683dcb37bf72656</id>
<content type='text'>
We haven't used this since commit be67ea40c5a0 in 2021 so stop carrying
it forward.

Also remove support for setting the list in syscalls.conf via the
capenabled variable.  This was last used by cloudabi (removed in 2021
by commit cf0ee8738e31).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We haven't used this since commit be67ea40c5a0 in 2021 so stop carrying
it forward.

Also remove support for setting the list in syscalls.conf via the
capenabled variable.  This was last used by cloudabi (removed in 2021
by commit cf0ee8738e31).
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor makesyscalls.lua into a library</title>
<updated>2024-10-30T21:04:30+00:00</updated>
<author>
<name>agge3</name>
<email>sterspark@gmail.com</email>
</author>
<published>2024-10-21T21:42:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9ded074e875c29cb92d5f643801990d7bb23cca4'/>
<id>9ded074e875c29cb92d5f643801990d7bb23cca4</id>
<content type='text'>
* main.lua replicates the functionality of makesyscalls.lua
* Individual files are generated by their associated module
  * Modules can be called as standalone scripts to generate a specific
    file
* Data and procedures are performed by objects instead of procedual code
* Bitmasks are replaced by declarative types
* Temporary files are no longer produced, writing is stored in memory
* Comments provide explanation to functions and semantics

Google Summer of Code 2024 Final Work Product

Co-authored-by: Warner Losh &lt;imp@freebsd.org&gt;
Co-authored-by: Kyle Evans &lt;kevans@freebsd.org&gt;
Co-authored-by: Brooks Davis &lt;brooks@freebsd.org&gt;
Sponsored by:    Google (GSoC 24)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1362
Signed-off-by: agge3 &lt;sterspark@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* main.lua replicates the functionality of makesyscalls.lua
* Individual files are generated by their associated module
  * Modules can be called as standalone scripts to generate a specific
    file
* Data and procedures are performed by objects instead of procedual code
* Bitmasks are replaced by declarative types
* Temporary files are no longer produced, writing is stored in memory
* Comments provide explanation to functions and semantics

Google Summer of Code 2024 Final Work Product

Co-authored-by: Warner Losh &lt;imp@freebsd.org&gt;
Co-authored-by: Kyle Evans &lt;kevans@freebsd.org&gt;
Co-authored-by: Brooks Davis &lt;brooks@freebsd.org&gt;
Sponsored by:    Google (GSoC 24)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1362
Signed-off-by: agge3 &lt;sterspark@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
