cvs commit: src/sys/sys aio.h signal.h signalvar.h src/sys/kern syscalls.master vfs_aio.c

Alfred Perlstein alfred at freebsd.org
Tue Nov 1 06:22:18 PST 2005


* David Xu <davidxu at freebsd.org> [051030 15:44] wrote:
> Existing binary code needn't be recompiled, it should work as before.
> if an AIO syscall needs sigevent structure, it already has a new syscall
> number, and old syscalls will think passed sigevent is an osigevent.
> I am open for adding pad fields to aiocb and sigevent, how many padding
> do you want to add, give some diffs for us ? :-)

I apologize, I didn't realize that this was actually the compat patch.

I have no idea about padding, I just thought it might be a good idea,
you might want to check if Sun/Apple/Linux have padding and copy that
just for future expansion.

But I do not have time to provide that.



> 
> David Xu
> 
> Alfred Perlstein wrote:
> 
> >Does this modify the size/layout of the struct sigevent and aiocb
> >to the point where apps need a recompile?  If so we
> >should we have compat functions for AIO?  Ei, struct "osigevent"
> >and "oaiocb" and corresponding compat functions for AIO?
> >
> >I understand that it's annoying but AIO has been an interface around
> >since 4.x.
> >
> >Now might also be a good time to add padding to aiocb and possibly
> >sigevent.
> >
> >-Alfred
> > 
> >

-- 
- Alfred Perlstein


More information about the cvs-src mailing list