[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64
>>>>> "Rusty" == Rusty Russell <> writes:

>> I think it should be uint64_t to allow glibc to copy and mangle the
>> file into its header tree.

Rusty> I don't think that's really an issue, is it?

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. u64 is kernel-only, the correct type to be shared between
user and kernel space is either uint64_t (mandated by C9X) or the
__u64 type from asm/types.h. Either way, u64 is wrong.

You could argue that this is a glibc bug. But the way that glibc
generates the include/linux headers is just to copy them from some
kernel tree or other, with a little mangling on the side.

Peter C
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
More majordomo info at
Please read the FAQ at

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