[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJwJo6bSx3rYZLqPaU6YOed1E6ACwO3ijq8LXA-RUkQWLvdofQ@mail.gmail.com>
Date: Thu, 26 Apr 2018 22:13:12 +0100
From: Dmitry Safonov <0x7f454c46@...il.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: Li Bin <huawei.libin@...wei.com>,
Al Viro <viro@...iv.linux.org.uk>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Dominik Brodowski <linux@...inikbrodowski.net>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Hanjun Guo <guohanjun@...wei.com>
Subject: Re: [PATCH v2] prctl: fix compat handling for prctl
2018-04-19 3:25 GMT+01:00 Andy Lutomirski <luto@...nel.org>:
>> On Apr 18, 2018, at 9:06 PM, Li Bin <huawei.libin@...wei.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
Powered by blists - more mailing lists