[Top] [All Lists]


To: Ralf Baechle <>, "H. J. Lu" <>,
Subject: Personality
From: Carsten Langgaard <>
Date: Tue, 16 Jul 2002 10:34:58 +0200
The include/linux/personality.h file has changed between the 2.4.3 and
the 2.4.18 kernel.
Now there is a define of personality (#define personality(pers) (pers &
PER_MASK), but that breaks things for the users, if they include this
The user wishes to call the glibc personality function (which do the
syscall), and not use the above definition.

So I guess we need a "#ifdef __KERNEL__" around some of the code in
include/linux/personality.h (at least around the define of personality),
which then has to go into the glibc kernel header files.

Any comments ?


_    _ ____  ___   Carsten Langgaard
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556

<Prev in Thread] Current Thread [Next in Thread>