Re: [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64

From: Peter Chubb (peter@chubb.wattle.id.au)
Date: Wed Jun 12 2002 - 15:19:23 EST


>>>>> "David" == David Woodhouse <dwmw2@infradead.org> writes:

David> peter@chubb.wattle.id.au said:
>> This issue is that when I try to use the BLKGETSZ64 ioctl from a
>> user space program, the version of linux/fs.h shipped with
>> glibc-2.2.5 contains a u64 type.

>> You could argue that this is a glibc bug.

David> I do indeed. I further argue that it has no business being
David> discussed on the kernel mailing list, just because the kernel
David> happens to have a header with a similar name.

The header in question *defines* the kernel to userspace interface.
As such it is a kernel issue. Any interface exposed to userspace must
use types that are common to userspace and the kernel. u64 is kernel
only, therefore has no business being used in an ioctl declaration.

--
Peter C					    peterc@gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories, all almost the same.

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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:26 EST