From owner-cvs-all Mon Jul 31 11:23:16 2000 Delivered-To: cvs-all@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 6DF2337B505; Mon, 31 Jul 2000 11:23:07 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 46F29200; Mon, 31 Jul 2000 11:19:53 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id LAA14526; Mon, 31 Jul 2000 11:19:53 -0700 (PDT) Message-ID: <3985C349.90C5D1E6@cup.hp.com> Date: Mon, 31 Jul 2000 11:19:53 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jeroen Ruigrok van der Werven Cc: Luoqi Chen , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, peter@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc References: <200007311747.e6VHlxx25224@lor.watermarkgroup.com> <20000731195522.C70236@lucifer.bart.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok van der Werven wrote: > > -On [20000731 19:50], Luoqi Chen (luoqi@watermarkgroup.com) wrote: > >Why don't we prefix all syscalls with sys_? > > It would solve namespace clashes at least. > > I am curious about other reasons why or why not. I did a search for syscalls in the Linux kernel just this weekend. I had 2 search keys: 'asmlinkage' and 'sys_'. Unfortunately some syscalls are prefixed by 'osf_' (alpha port) or 'old_' (obsoleted syscalls?). All in all, my job was relatively easy due to the prefixing (and having 'asmlinkage'). I now have a clear separation of MD and MI syscalls and can work on splitting the Linuxulator in MD and MI parts... Just some input... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message