Re: [PATCH] block/compat_ioctl: fix range check in BLKGETSIZE
From
Jens Axboe <>
Date
Thu, 2 Aug 2018 15:31:52 -0600
On 4/6/18 4:23 PM, Khazhismel Kumykov wrote: > kernel ulong and compat_ulong_t may not be same width. Use type directly > to eliminate mismatches. > > This would result in truncation rather than EFBIG for 32bit mode for > large disks.