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 09:27:16 -0700 (PDT)

:
:On 4/17/06, Matthew Dillon <dillon@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!
:
:---chuck

    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/libc.so.6 so you can
    restore the original if you accidently blow it up.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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