Re: [patch 1/9] compat_ioctl: move common block ioctls to compat_blkdev_ioctl

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Hellwig <hch@...>, Jens Axboe <jens.axboe@...>, <linux-kernel@...>, <davem@...>, <hch@...>, Al Viro <viro@...>
Date: Saturday, October 6, 2007 - 7:44 pm

On Saturday 06 October 2007, Christoph Hellwig wrote:

Hmm, I'm not sure. They are modeled after the put_{short,int,uint,...}
functions that only exist in block/ioctl.c and I put them in so I
could use almost identical code in the native and compat path.

If we find these generally useful, I guess we could have both
versions of each of these functions in global headers, e.g. in
linux/uaccess.h and linux/compat.h, but right now I would recommend
using plain put_user in all compat code except for block ioctl.

	Arnd <><
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 1/9] compat_ioctl: move common block ioctls to co..., Arnd Bergmann, (Sat Oct 6, 7:44 pm)