Re: [PATCH v3 1/3] scsi: aacraid: improve compat_ioctl handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 30 Oct 2020 17:44:19 +0100, Arnd Bergmann wrote:

> The use of compat_alloc_user_space() can be easily replaced by
> handling compat arguments in the regular handler, and this will
> make it work for big-endian kernels as well, which at the moment
> get an invalid indirect pointer argument.
> 
> Calling aac_ioctl() instead of aac_compat_do_ioctl() means the
> compat and native code paths behave the same way again, which
> they stopped when the adapter health check was added only
> in the native function.

Applied to 5.11/scsi-queue, thanks!

[1/3] scsi: aacraid: Improve compat_ioctl handlers
      https://git.kernel.org/mkp/scsi/c/077054215a7f
[2/3] scsi: megaraid_sas: Check user-provided offsets
      https://git.kernel.org/mkp/scsi/c/381d34e376e3
[3/3] scsi: megaraid_sas: Simplify compat_ioctl handling
      https://git.kernel.org/mkp/scsi/c/bba84aeccafb

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux