adding a new system call

Matthew Dillon dillon at
Mon Apr 17 09:29:20 PDT 2006

:On 4/17/06, Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
:>     2nd step is definitely needed, but the usual way to do it is:
:>     cd /usr/src/sys/kern
:>     make sysent
:Got it. Thanks!

    One other warning, Chuck.  When playing with new system calls, since
    you have to run buildworld to integrate the call into libc, it is
    possible for libc to get out of whack while you are playing with it.

    I strongly recommend making a backup of /usr/lib/ so you can
    restore the original if you accidently blow it up.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Kernel mailing list