lkml.org 
[lkml]   [2020]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCHES] uaccess hpsa
	hpsa compat ioctl done (hopefully) saner.  I really want
to kill compat_alloc_user_space() off - it's always trouble and
for a driver-private ioctls it's absolutely pointless.

Note that this is only compile-tested - I don't have the
hardware to test it on *or* userland to issue the ioctls in
question. So this series definitely needs a review and testing
from hpsa maintainers before it might go anywhere.

The series is in vfs.git #uaccess.hpsa, based at v5.7-rc1

Al Viro (4):
hpsa passthrough: lift {BIG_,}IOCTL_Command_struct copy{in,out} into hpsa_ioctl()
hpsa: don't bother with vmalloc for BIG_IOCTL_Command_struct
hpsa: get rid of compat_alloc_user_space()
hpsa_ioctl(): tidy up a bit

drivers/scsi/hpsa.c | 199 ++++++++++++++++++++++++----------------------------
1 file changed, 90 insertions(+), 109 deletions(-)

\
 
 \ /
  Last update: 2020-05-30 01:40    [W:0.322 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site