Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 10:18:10 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Bruce Evans <bde@FreeBSD.org>, 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>
In-Reply-To: <Pine.NEB.3.96L.1020201131150.99143B-100000@fledge.watson.org>; from rwatson@FreeBSD.org on Fri, Feb 01, 2002 at 01:14:08PM -0500
References:  <20020201100622.L18604@elvis.mu.org> <Pine.NEB.3.96L.1020201131150.99143B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Robert Watson <rwatson@FreeBSD.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201101810.O18604>