cvs commit: src/sys/sys signal.h

Daniel Eischen deischen at freebsd.org
Thu Dec 8 05:30:35 PST 2005


On Thu, 8 Dec 2005, David Xu wrote:

> Daniel Eischen wrote:
> > I was going to do it in libc so it doesn't have to be done by each
> > thread library.
> >
> > But there are still aio_* syscalls that haven't been changed to have
> > compat syscalls.  You did aio_read, aio_write, and lio_listion, but
> > not aio_error, aio_return, aio_suspend, aio_cancel, and aio_waitcomplete.
> > I think these really need compat syscalls due to the different layout of
> > struct sigevent (because it affects layout of struct aiocb).
> >
> The aio_error, aio_return and other syscalls don't access sigevent,
> they all access kernel private data of aiocb, I left old sigevent space
> there, but will not be used by new syscalls, the new sigevent is
> appended at end of aiocb, offset of kernel private data area is not changed.

So we're OK then since you've already added compat syscalls.  Only
-current users need to recompile.

-- 
DE



More information about the cvs-src mailing list