lkml.org 
[lkml]   [2018]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] prctl: fix compat handling for prctl
2018-04-19 3:25 GMT+01:00 Andy Lutomirski <luto@kernel.org>:
>> On Apr 18, 2018, at 9:06 PM, Li Bin <huawei.libin@huawei.com> wrote:
>>
>> The member auxv in prctl_mm_map structure which be shared with
>> userspace is pointer type, but the kernel supporting COMPAT didn't
>> handle it. This patch fix the compat handling for prctl syscall.
>
> I would propose an alternative fix: change the type to u64. As far as
> I know, this thing is only used by CRIU, and CRIU doesn’t work (AFAIK)
> on native 32-bit anyway.

Yeah, it's right - CRIU doesn't work on native 32-bit and no support planned.

Thanks,
Dmitry

\
 
 \ /
  Last update: 2018-04-26 23:14    [W:0.050 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site