adding a new system call

Matthew Dillon dillon at
Mon Apr 17 08:52:13 PDT 2006

:Is the following the correct way to add a new system call?
:- add entry to sys/kern/syscalls.master
:- cd sys/kern && sh syscalls.master
:- make buildworld
:- make buildkernel
:or is the 2nd step not needed? Thanks.

    2nd step is definitely needed, but the usual way to do it is:

    cd /usr/src/sys/kern
    make sysent

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Kernel mailing list