adding a new system call

Matthew Dillon dillon at apollo.backplane.com
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 makesyscalls.sh syscalls.master
:- make buildworld
:- make buildkernel
:...
:
:or is the 2nd step not needed? Thanks.
:
:
:---chuck

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

    cd /usr/src/sys/kern
    make sysent

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Kernel mailing list