DragonFly BSD
DragonFly kernel List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: adding a new system call


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Apr 2006 08:46:03 -0700 (PDT)

: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@xxxxxxxxxxxxx>



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