I'm really not a fan of adding a global synchronization point for no good reason. Arnd's original patch looks fine to me, but if you really don't want it I'd suggest to use memdup_user and just dynamically allocate the structure.
- [PATCH v2] Move stack parameters for sed_ioctl to preven... Scott Bauer
- Re: [PATCH v2] Move stack parameters for sed_ioctl ... Christoph Hellwig

