Date: Wed, 8 Oct 1997 00:43:12 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Cc: nordwick@graft.xcf.berkeley.edu (Jason Alan Nordwick) Subject: Re: where is write/read/... syscalls ? Message-ID: <19971008004312.FC62676@uriah.heep.sax.de> In-Reply-To: <199710072114.OAA01979@graft.xcf.berkeley.edu>; from Jason Alan Nordwick on Oct 7, 1997 14:14:58 -0700 References: <199710072114.OAA01979@graft.xcf.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
As Jason Alan Nordwick wrote: > When I use the libc call write or read or any of the syscalls, where is > the code for them ? The libc stubs are being created by src/lib/libc/sys/Makefile.inc. > is that libkern ? is libkern all the kernel > entry points ? No, libkern is just the opposite: a collection of system library (``libc'' if you want it) functions that are being used inside the kernel. > then where is kernel code for the corresponding syscall ? Scattered throughout the kernel. See /sys/kern/syscalls.master, most of the function entry points are in /sys/kern/. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971008004312.FC62676>