Re: [kernel-hardening] [RFC V2 6/6] drivers: uio: un-restrict sysfs pointers for UIO

2017-10-04 Thread Greg KH
On Sun, Oct 01, 2017 at 11:06:50AM +1100, Tobin C. Harding wrote: > The address and size on the UIO devices are required by userspace to > function properly. Let's un-restrict these by adding the 'P' modifier > to %pa. > > Signed-off-by: Tobin C. Harding Signed-off-by: Greg Kroah-Hartman

[kernel-hardening] [RFC V2 6/6] drivers: uio: un-restrict sysfs pointers for UIO

2017-09-30 Thread Tobin C. Harding
The address and size on the UIO devices are required by userspace to function properly. Let's un-restrict these by adding the 'P' modifier to %pa. Signed-off-by: Tobin C. Harding --- drivers/uio/uio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uio/uio.c b/dr