Re: Illegal use of reserved word in system.h

From: Richard B. Johnson
Date: Thu May 19 2005 - 12:11:48 EST


On Thu, 19 May 2005, Steven Rostedt wrote:

On Thu, 2005-05-19 at 11:58 -0400, Richard B. Johnson wrote:


0 = 00000020
1 = ffffe400
2 = 00000021
3 = ffffe000
4 = 00000010 Seems to start here?
5 = bfebfbff Some bits
6 = 00000006 AT_PAGESZ
7 = 00001000 Correct
8 = 00000011 AT_CLKTCK
9 = 00000064 Correct
10 = 00000003
11 = 08048034
12 = 00000004
13 = 00000020
14 = 00000005
15 = 00000003

Nothing that makes any sense with the extra stuff in front.
I don't know where it came from.


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.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.11.9 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/