> Dear Sir,
> How do I set up a system call of my own in the FreeBSD kernel?
> 1) Do I just change the syscalls.master and my new function and rebuild
> the entire kernel?. If so where do I put my implementation files? in the
> same directory as syscalls.master exists? I am new to writing custom system
> calls.. Thank you,

I think the easiest way to do this is with a kld.  It's less intrusive
and allows you to unload/recompile/reload without recompiling the
whole kernel and rebooting.

There should be a simple example of how to do this in
/usr/share/examples/kld/syscall.  Also check out
http://thc.inferno.tusculum.edu/files/thc/bsdkern.html

hope this helps...



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to