On Tue, May 10, 2016 at 10:54:00AM +0100, Dr. David Alan Gilbert wrote: > * Dmitry V. Levin (l...@altlinux.org) wrote: [...] > > BTW, whoever marked these two ioctls with _IOR clearly missed the point: > > an ioctl that passes data from userspace to the kernel is a write ioctl > > and should be marked with _IOW. Now it's too late to change the ABI and > > we'll have to live with two write-only _IOR ioctls. > > Thanks; I mentioned this to Andrea; he'll post a patch to comment it in the > userfaultfd.h header and also add a comment to the kernel's ioctl header > making clear which way IOR/IOW means.
Great. So this source of errors will hopefully come to an end after all. -- ldv
pgpr7LQIrAoh1.pgp
Description: PGP signature
------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel