Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-26 Thread Dmitry Safonov
2018-04-19 3:25 GMT+01:00 Andy Lutomirski : >> On Apr 18, 2018, at 9:06 PM, Li Bin 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

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-26 Thread Dmitry Safonov
2018-04-19 3:25 GMT+01:00 Andy Lutomirski : >> On Apr 18, 2018, at 9:06 PM, Li Bin 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.

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-19 Thread Libin (Huawei)
在 2018/4/19 10:25, Andy Lutomirski 写道: On Apr 18, 2018, at 9:06 PM, Li Bin 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

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-19 Thread Libin (Huawei)
在 2018/4/19 10:25, Andy Lutomirski 写道: On Apr 18, 2018, at 9:06 PM, Li Bin 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

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-18 Thread Andy Lutomirski
> On Apr 18, 2018, at 9:06 PM, Li Bin 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

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-18 Thread Andy Lutomirski
> On Apr 18, 2018, at 9:06 PM, Li Bin 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

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-18 Thread Andy Lutomirski
> On Apr 18, 2018, at 9:06 PM, Li Bin 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. > > Signed-off-by:

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-18 Thread Andy Lutomirski
> On Apr 18, 2018, at 9:06 PM, Li Bin 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. > > Signed-off-by: Li Bin > --- >

[PATCH v2] prctl: fix compat handling for prctl

2018-04-18 Thread Li Bin
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. Signed-off-by: Li Bin --- kernel/sys.c | 42

[PATCH v2] prctl: fix compat handling for prctl

2018-04-18 Thread Li Bin
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. Signed-off-by: Li Bin --- kernel/sys.c | 42 ++ 1 file