From owner-cvs-all Mon Jul 31 21:44:52 2000 Delivered-To: cvs-all@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id A7E9237BDD2 for ; Mon, 31 Jul 2000 21:44:45 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 8310 invoked from network); 1 Aug 2000 04:44:41 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 1 Aug 2000 04:44:41 -0000 Date: Tue, 1 Aug 2000 14:44:37 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Luoqi Chen Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, peter@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc In-Reply-To: <200007311747.e6VHlxx25224@lor.watermarkgroup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Jul 2000, Luoqi Chen wrote: > > peter 2000/07/28 17:28:44 PDT > > > > Modified files: > > lib/libc/sys Makefile.inc > > Log: > > Deal with the exit entry in MIASM changing to sys_exit. > > This Is A Hack(TM). > > > > Revision Changes Path > > 1.79 +2 -2 src/lib/libc/sys/Makefile.inc This was bogus. The change to sys_exit was a bug which has been backed out in most places, but not here. > Why don't we prefix all syscalls with sys_? It would be gratuitous renaming. There is no conflict between syscall (or library) names and kernel names. The conflict for exit() is caused by abusing the hosted cc as a freestanding one. exit() isn't even a syscall (_exit() is the syscall). There are potentially more serious conflicts for printf(), malloc() and str*(), etc. We use the library interfaces for all of these except malloc(), but in a hosted compiler could in theory generate library calls for them. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message