lkml.org 
[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64
>>>>> "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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.042 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site