cvs commit: src/sys/sys signal.h
davidxu at freebsd.org
Wed Dec 7 20:49:20 PST 2005
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.
> I don't think Library-level shims aren't going to help in the case of
> statically built binaries.
More information about the cvs-src