]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libsys: add a libsys.h
authorBrooks Davis <brooks@FreeBSD.org>
Tue, 16 Apr 2024 16:48:07 +0000 (17:48 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Tue, 16 Apr 2024 16:48:07 +0000 (17:48 +0100)
commit1fd880742ace94e11fa60ee0b074f0b18e54c54f
treec212d2b68e038b0581119c2c4925669eb5f2f4f7
parent79b758e327757dc015fb26a122fdc9608c405e9e
libsys: add a libsys.h

This declares an API for libsys which currently consists of
__sys_<foo>() declarations for system call stubs and function pointer
typedefs of the form __sys_<foo>_t.  The vast majority of the
implementation resides in a generated _libsys.h which ensures that all
system call stub declarations match syscalls.master.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44387
lib/libsys/Makefile
lib/libsys/_libsys.h [new file with mode: 0644]
lib/libsys/libsys.h [new file with mode: 0644]
sys/kern/syscalls.conf