On Tue, May 05, 2020 at 03:28:50PM -0500, Eric W. Biederman wrote: > We probably can. After introducing a kernel_compat_siginfo that is > the size that userspace actually would need. > > It isn't something I want to mess with until this code gets merged, as I > think the set_fs cleanups are more important. > > > Christoph made some good points about how ugly the #ifdefs are in > the generic copy_siginfo_to_user32 implementation. Take a look at the series you are replying to, the magic x86 ifdefs are entirely gone from the common code :)