Thread (4 messages) flat view 4 messages, 4 authors, 2018-09-13

Re: [PATCH v2 03/17] compat_ioctl: use correct compat_ptr() translation in drivers

From: Felipe Balbi <balbi@kernel.org>
Date: 2018-09-13 16:12:31
Also in: linux-fsdevel, linux-scsi, linux-usb, lkml

Arnd Bergmann [off-list ref] writes:
A handful of drivers all have a trivial wrapper around their ioctl
handler, but don't call the compat_ptr() conversion function at the
moment. In practice this does not matter, since none of them are used
on the s390 architecture and for all other architectures, compat_ptr()
does not do anything, but using the new generic_compat_ioctl_ptrarg
helper makes it more correct in theory, and simplifies the code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Felipe Balbi <redacted>

-- 
balbi

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help