Messages in this thread | | | Date | Wed, 30 Jan 2008 01:37:48 +0100 (CET) | From | Jan Engelhardt <> | Subject | Re: [PATCH] linux/types.h: always export 64bit aligned defines |
| |
On Jan 29 2008 19:16, Mike Frysinger 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.
Phew - now we have two sorts of userspace? (Those with glibc and those without, aka standalone). Right, it's messy, which is why this thread exists and a better solution is sought :)
| |