Re: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-05-19 at 13:06 -0400, Richard B. Johnson wrote:

> >
> > You forgot to include ARCH_DL_INFO which is defined in asm-i386/elf.h
> > as:
> >
> > #define ARCH_DLINFO						\
> > do {								\
> > 		NEW_AUX_ENT(AT_SYSINFO,	VSYSCALL_ENTRY);	\
> > 		NEW_AUX_ENT(AT_SYSINFO_EHDR, VSYSCALL_BASE);	\
> > } while (0)
> >
> > AT_SYSINFO = 32 or 0x20  and AT_SYSINFO_EHDR = 33 or 0x21
> >
> > -- Steve
> 
> Okay, good. At least I have the right vector. Now to find
> a clean way to use it. The whole idea was to not have to
> use kernel headers, BTW.
> 

The real question is whether or not getpagesize uses this?  This should
be information that is passed to libc and not be something that the user
program uses directly.  As you noticed, this vector is also architecture
specific, and should be only used by libc.  I believe that the linker is
probably the driving factor for this information and not the kernel, so
the kernel headers should not be included.

-- Steve

BTW, I'm still not getting any direct email from you.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux