Re: [PATCH v2] selftests/seccomp: Get page size from sysconf

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

 



On 11/13/2015 03:41 PM, Kees Cook wrote:
> On Thu, Nov 12, 2015 at 7:17 PM, Bamvor Jian Zhang
> <bamvor.zhangjian@xxxxxxxxxx> wrote:
>> The commit fd88d16c58c2 ("selftests/seccomp: Be more precise with
>> syscall arguments.") use PAGE_SIZE directly which lead to build
>> failure on arm64.
>>
>> Replace it with generic interface(sysconf(_SC_PAGESIZE)) to fix this
>> failure.
>>
>> Build and test successful on x86_64 and arm64.
>>
>> Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@xxxxxxxxxx>
> 
> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
> 
> Shuah, can you please pull this for kselftest? It fixes arm64 after
> Robert's changes.
> 

Thanks for finding and fixing this. Applied to linux-kselftest fixes
for 4.4-rc2 with Kees's Ack.

thanks,
-- Shuah

-- 
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux