tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: makesyscalls (moving forward)



On Sun, Jun 14, 2020 at 02:21:07PM -0700, Paul Goyette wrote:
 > > (2) What is the installed syscall description file called and where
 > > does it go? It is likely to be derived from (i.e., not the same as)
 > > syscalls.master. It isn't a C header file so it doesn't belong in
 > > /usr/include. It isn't necessarily particularly human-readable. My
 > > suggestion would be to add a directory in /usr/share for API
 > > descriptions and put it there, something like maybe
 > > /usr/share/api/syscalls.def.
 > 
 > Perhaps /usr/share/sys/syscalls.def ?
 > 
 > I'd suspect we might find more .../sys/... stuff (compared to the
 > amound of .../api... stuff) in the future which could minimize the
 > lonliness of syscalls.def  :)  Or even maybe /usr/share/kern/...
 > might work.

I was thinking that other machine-readable API definitions might
appear in the future, e.g. for parts of libc and for other base
libraries.

Wherever we put it now, it's going to be lonely to begin with :-/

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index