Re: [PATCH] linux/types.h: always export 64bit aligned defines
From: Mike Frysinger
Date: Tue Jan 29 2008 - 19:16:34 EST
On Tuesday 29 January 2008, Jan Engelhardt wrote:
> On Jan 27 2008 21:33, Andrew Morton wrote:
> >On Sat, 26 Jan 2008 04:23:21 -0500 Mike Frysinger <vapier@xxxxxxxxxx>
wrote:
> >> Some kernel headers exported to userspace rely on these 64bit
> >> aligned defines. However, they are hidden behind
> >> __KERNEL_STRICT_NAMES at the moment which means most of the time,
> >> they're never actually available.
>
> Wrong way.
i'm thinking the right way, i just may not have expressed it completely
clearly ...
> They are inside #ifndef __KERNEL_STRICT_NAMES, so
> they _are_ available to userspace.
for all practical purposes, they are not. glibc will define
__KERNEL_STRICT_NAMES because (like a sane C lib), it defines all of the
basic types that the kernel also defines.
-mike
Attachment:
signature.asc
Description: This is a digitally signed message part.