Christoph Hellwig wrote: <snip> > Please allocate the structure using compat_alloc_userspace and copy > with copy_in_user instead of the set_fs trick. <snip> Good idea, thank you for your tip, I'll do it.