Re: [v2] vhost: add vsock compat ioctl

2018-03-25 Thread David Miller
From: Stefan Hajnoczi Date: Thu, 22 Mar 2018 09:25:35 + > On Fri, Mar 16, 2018 at 7:30 PM, David Miller wrote: >> Although the top level ioctls are probably size and layout compatible, >> I do not think that the deeper ioctls can be called by compat

Re: [v2] vhost: add vsock compat ioctl

2018-03-22 Thread Sonny Rao
On Thu, Mar 22, 2018 at 2:25 AM, Stefan Hajnoczi wrote: > On Fri, Mar 16, 2018 at 7:30 PM, David Miller wrote: >> Although the top level ioctls are probably size and layout compatible, >> I do not think that the deeper ioctls can be called by compat

Re: [v2] vhost: add vsock compat ioctl

2018-03-22 Thread Stefan Hajnoczi
On Fri, Mar 16, 2018 at 7:30 PM, David Miller wrote: > Although the top level ioctls are probably size and layout compatible, > I do not think that the deeper ioctls can be called by compat binaries > without some translations in order for them to work. I audited the vhost

Re: [v2] vhost: add vsock compat ioctl

2018-03-17 Thread David Miller
From: Sonny Rao Date: Fri, 16 Mar 2018 17:54:12 -0700 > On Fri, Mar 16, 2018 at 12:30 PM, David Miller wrote: >> >> Although the top level ioctls are probably size and layout compatible, >> I do not think that the deeper ioctls can be called by compat

Re: [v2] vhost: add vsock compat ioctl

2018-03-16 Thread Sonny Rao
On Fri, Mar 16, 2018 at 12:30 PM, David Miller wrote: > > Although the top level ioctls are probably size and layout compatible, > I do not think that the deeper ioctls can be called by compat binaries > without some translations in order for them to work. Ok, thanks -- I

Re: [v2] vhost: add vsock compat ioctl

2018-03-16 Thread David Miller
Although the top level ioctls are probably size and layout compatible, I do not think that the deeper ioctls can be called by compat binaries without some translations in order for them to work.

Re: [PATCH v2] vhost: add vsock compat ioctl

2018-03-16 Thread Stefan Hajnoczi
On Wed, Mar 14, 2018 at 02:36:25PM -0700, Sonny Rao wrote: > This will allow usage of vsock from 32-bit binaries on a 64-bit > kernel. > > Signed-off-by: Sonny Rao > --- > drivers/vhost/vsock.c | 11 +++ > 1 file changed, 11 insertions(+) Reviewed-by: Stefan

[PATCH v2] vhost: add vsock compat ioctl

2018-03-14 Thread Sonny Rao
This will allow usage of vsock from 32-bit binaries on a 64-bit kernel. Signed-off-by: Sonny Rao --- drivers/vhost/vsock.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 0d14e2ff19f16..ee0c385d9fe54