Subject: Re: pipe(2) and invalid fildes
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-kern
Date: 09/30/2001 13:38:44
> > The difference between getting EFAULT and getting SIGSEGV/SIGBUS is
> > purely an implementation artifact.
> 
> Shouldn't the documentation reflect the implementation?

An interface's specification should not overconstrain the
implementation.  I'd go so far as to reserve the right to allow any
EFAULT-returning syscall to SIGSEGV/SIGBUS instead if a bad address is
passed in.

				- Bill