Re: [fuse-devel] [PATCH 5/7] FUSE: implement ioctl support

From: Tejun Heo
Date: Fri Aug 29 2008 - 07:56:49 EST


Roger Willcocks wrote:
> One thing to bear in mind is the possibility of 32-bit client programs
> running on a 64-bit platform, so your user-space driver will need be be
> aware of the flavour of the client, and parse the ioctl arguments (and
> in particular, pointers) appropriately.
>
> That's true of a kernel implementation too, of course.

Yeap, for 32bit client on 64bit machine, FUSE_IOCTL_COMPAT will be set.
For OSS emulation, it doesn't make any difference tho. It's the same
for both word sizes.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/