Re: [PATCH] perf: Handle compat ioctl

2014-06-17 Thread Pawel Moll
On Tue, 2014-06-17 at 13:13 +0100, Peter Zijlstra wrote: > On Fri, Jun 13, 2014 at 04:03:32PM +0100, Pawel Moll wrote: > > When running a 32-bit userspace on a 64-bit kernel (eg. i386 > > application on x86_64 kernel or 32-bit arm userspace on arm64 > > kernel) some of the perf ioctls must be treat

Re: [PATCH] perf: Handle compat ioctl

2014-06-17 Thread Peter Zijlstra
On Fri, Jun 13, 2014 at 04:03:32PM +0100, Pawel Moll wrote: > When running a 32-bit userspace on a 64-bit kernel (eg. i386 > application on x86_64 kernel or 32-bit arm userspace on arm64 > kernel) some of the perf ioctls must be treated with special > care, as they have a pointer size encoded in th