From owner-freebsd-hackers Sat Dec 21 10:36:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E07EB37B401 for ; Sat, 21 Dec 2002 10:36:35 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60B7343EE6 for ; Sat, 21 Dec 2002 10:36:34 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id A6DE23ABB65; Sat, 21 Dec 2002 19:37:03 +0100 (CET) Date: Sat, 21 Dec 2002 19:37:03 +0100 From: Pawel Jakub Dawidek To: Terry Lambert Cc: freebsd-hackers@freebsd.org Subject: Re: Syscall number. Message-ID: <20021221183703.GQ11475@garage.freebsd.pl> References: <20021220184337.GD11475@garage.freebsd.pl> <20021221032233.GG11475@garage.freebsd.pl> <3E04A8D2.C6CDBF6A@mindspring.com> <20021221175226.GP11475@garage.freebsd.pl> <3E04B3A6.A820638A@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jB+02Y6wHc2pEa2x" Content-Disposition: inline In-Reply-To: <3E04B3A6.A820638A@mindspring.com> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.7-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --jB+02Y6wHc2pEa2x Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 21, 2002 at 10:32:06AM -0800, Terry Lambert wrote: +> > +> This is actually a bad way to do things. +> > +> +> > +> There is a system call loadable module type, and you should +> > +> use that instead of directly accessing the system call entry +> > +> table and stomping on values without asserting appropriate +> > +> locks. +> >=20 +> > But I want to operate on existing syscalls. +>=20 +> Then specify a system call number instead of allowing the system to +> pick an unassigned system call for you. But I may catch even _all_ system call, so making separate functions for every syscall isn't good idea (if I understand You well). --=20 Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. --jB+02Y6wHc2pEa2x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPgS0zz/PhmMH/Mf1AQH1GwP+NJ8Vkclh+p20mT2/ruRPHRTxPupnuHOe PFIaNrRF8DaHqA0M07P2VivRjFXVRIqyfGndSTb2/Vwvwx/WAN7sLFHdnfu1fr7y UTB9UKSKmFGZ+qRoV6qvU40tGLaQyFfaoimLpjl42T4Y+ezmsXTidLlvM86j4vEt 26dPVPdINcU= =ZttK -----END PGP SIGNATURE----- --jB+02Y6wHc2pEa2x-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message