Messages in this thread | | | From | Andy Lutomirski <> | Date | Wed, 18 Apr 2018 19:25:27 -0700 | Subject | Re: [PATCH v2] prctl: fix compat handling for prctl |
| |
> 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. Do you know of some reason that this wouldn't work?
| |