Messages in this thread | | | Date | Thu, 29 Oct 2009 01:39:13 -0700 (PDT) | Subject | Re: is avoiding compat ioctls possible? | From | David Miller <> |
| |
From: Heiko Carstens <heiko.carstens@de.ibm.com> Date: Thu, 29 Oct 2009 09:34:16 +0100
> Subject: [PATCH] fs: add missing compat_ptr handling for FS_IOC_RESVSP ioctl > > From: Heiko Carstens <heiko.carstens@de.ibm.com> > > For FS_IOC_RESVSP and FS_IOC_RESVSP64 compat_sys_ioctl() uses its > arg argument as a pointer to userspace. However it is missing a > a call to compat_ptr() which will do a proper pointer conversion. > > This was introduced with 3e63cbb1 "fs: Add new pre-allocation ioctls > to vfs for compatibility with legacy xfs ioctls". > > Cc: Ankit Jain <me@ankitjain.org> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Al Viro <viro@zeniv.linux.org.uk> > Cc: Arnd Bergmann <arndbergmann@googlemail.com> > Reported-by: David Miller <davem@davemloft.net> > Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: David S. Miller <davem@davemloft.net>
| |