On Mon, Apr 27, 2020 at 02:08:25PM -0600, Jens Axboe wrote: > Possibly... Totally untested, maybe I forgot to mention that :-) > I'll check. > > The question was more "in principle" if this was a viable approach. The > whole cmsg_type and cmsg_level is really a mess. FYI, I have a series in the works to sort out the set_fs and casting to/from __user mess around msg_control. It needs a little more work, but hopefully I can find some time the next days.