[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091029.013913.258759148.davem@davemloft.net>
Date: Thu, 29 Oct 2009 01:39:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: heiko.carstens@...ibm.com
Cc: arndbergmann@...glemail.com, airlied@...ux.ie,
dri-devel@...ts.sourceforge.net, andi@...stfloor.org,
linux-kernel@...r.kernel.org, schwidefsky@...ibm.com,
me@...itjain.org, hch@....de, viro@...iv.linux.org.uk
Subject: Re: is avoiding compat ioctls possible?
From: Heiko Carstens <heiko.carstens@...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@...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@...itjain.org>
> Cc: Christoph Hellwig <hch@....de>
> Cc: Al Viro <viro@...iv.linux.org.uk>
> Cc: Arnd Bergmann <arndbergmann@...glemail.com>
> Reported-by: David Miller <davem@...emloft.net>
> Signed-off-by: Heiko Carstens <heiko.carstens@...ibm.com>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists