Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!zdc-e!super.zippo.com!plnews!snews2 From: "John S. Dyson" <dyson@freebsd.org> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: writing my own system calls Date: Fri, 18 Jul 1997 03:04:59 -0500 Organization: John S. Dyson's home machine Lines: 18 Message-ID: <33CF23AB.15FB7483@freebsd.org> References: <5qkf0a$16b$1@gondor.sdsu.edu> <33CE2D69.167EB0E7@ix.netcom.com> <5qmjhs$53g$1@nntp2.ba.best.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 3.0-CURRENT i386) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44612 Zenin wrote: > > Thomas D. Dean <tomdean@ix.netcom.com> wrote: > > Look at /usr/src/sys/kern/syscalls.* and the other files in > > that directory. > > > The book The Magic Garden Explained, Goodheart & Cox, Prentice-Hall > > has some good descriptions of system calls. > > Isn't that book heavly SysV based? Wouldn't The Design and > Implementation of the BSD 4.4 Operating System be a better > choice for info on FreeBSD system calls internals? > The easiest example might be in /usr/share/examples/lkm/syscall. This allows dynamic loading for quicker debugging (of course, be careful when modifying the kernel :-)). John