From owner-cvs-all Fri Feb 1 10:18:21 2002 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 3E5E137B421; Fri, 1 Feb 2002 10:18:10 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 19C7610DDFB; Fri, 1 Feb 2002 10:18:10 -0800 (PST) Date: Fri, 1 Feb 2002 10:18:10 -0800 From: Alfred Perlstein To: Robert Watson Cc: Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern init_sysent.c syscalls.c src/sys/sys syscall.h syscall.mk sysproto.h Message-ID: <20020201101810.O18604@elvis.mu.org> References: <20020201100622.L18604@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.org on Fri, Feb 01, 2002 at 01:14:08PM -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Robert Watson [020201 10:14] wrote: > > On Fri, 1 Feb 2002, Alfred Perlstein wrote: > > > Do you have any input as to whether per-arch syscall.master is a good > > idea? Or perhaps syscall.std, or something that specifies which arches > > have which syscalls? Specifically so that we could make osigreturn an > > i386 only syscall? > > Personally, I'd much prefer to see one syscalls.master. I've seen the > confusion resulting from different system call numbering schemes across > architectures on Linux, and it worries me :-). For one thing, it would be > nice when handing out a system call number to be able to say "We've > allocated 642 for this system call" rather than "We've allocated you 642 > on i386, 457 on axp, 493 on ia64, ...". This thought had crossed my mind. That's why I asked. > My preference would very much be > for keeping one syscalls.master, and just #ifndef > ARCHITECTURE_OF_MY_CHOICE return(ENOSYS) #endif. Yes, something like this makes sense. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message