Matthew Wilcox writes: > On Sat, May 19, 2001 at 12:51:23PM -0600, Richard Gooch wrote: > > Al, if you really want to kill ioctl(2), then perhaps you should > > implement a transaction(2) syscall. Something like: > > int transaction (int fd, void *rbuf, size_t rlen, > > void *wbuf, size_t wlen); > > > > Of course, there wouldn't be any practical gain, since we already have > > ioctl(2). Any gain would be aesthetic. > > I can tell you haven't had to write any 32-bit ioctl emulation code for > a 64-bit kernel recently. The transaction(2) syscall can be just as easily abused as ioctl(2) in this respect. People can pass pointers to ill-designed structures very easily. The main advantage of transaction(2) is that hopefully, people will not be so bone-headed as to forget to pass sizeof *structptr as the size field. So perhaps some error trapping is possible. Regards, Richard.... Permanent: [EMAIL PROTECTED] Current: [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFD w/info-PATCH] device arguments from lookup, p... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from looku... Ben LaHaise
- Re: [RFD w/info-PATCH] device arguments from l... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from lookup, partio... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from lookup, p... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from looku... Erik Mouw
- Re: [RFD w/info-PATCH] device arguments from l... Aaron Lehmann
- Re: [RFD w/info-PATCH] device arguments fr... Erik Mouw
- Re: [RFD w/info-PATCH] device argumen... Steven Walter
- Re: [RFD w/info-PATCH] device arguments from looku... Richard Gooch
- Re: [RFD w/info-PATCH] device arguments from l... Richard Gooch
- Re: [RFD w/info-PATCH] device arguments fr... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments fr... Alexander Viro
- Re: [RFD w/info-PATCH] device argumen... Richard Gooch
- Re: [RFD w/info-PATCH] device arg... Pavel Machek
- Re: [RFD w/info-PATCH] device arg... Alan Cox
- Re: [RFD w/info-PATCH] device arg... Alexander Viro
- Re: [RFD w/info-PATCH] device arg... Alan Cox
- Re: [RFD w/info-PATCH] device arg... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arg... Linus Torvalds
- Re: [RFD w/info-PATCH] device arg... Matthew Wilcox