Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Personality
@ 2002-07-16  8:34 Carsten Langgaard
  2002-07-16 10:36 ` Personality Ralf Baechle
  2002-07-16 13:40 ` Personality Daniel Jacobowitz
  0 siblings, 2 replies; 6+ messages in thread
From: Carsten Langgaard @ 2002-07-16  8:34 UTC (permalink / raw)
  To: Ralf Baechle, H. J. Lu, linux-mips

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
file.
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


--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-17  7:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-16  8:34 Personality Carsten Langgaard
2002-07-16 10:36 ` Personality Ralf Baechle
     [not found]   ` <20020716090728.A22128@lucon.org>
2002-07-16 19:16     ` PATCH: Add sys/personality (Re: Personality) Carsten Langgaard
     [not found]       ` <20020716190814.A31309@lucon.org>
2002-07-17  7:14         ` Carsten Langgaard
2002-07-16 13:40 ` Personality Daniel Jacobowitz
2002-07-16 13:57   ` Personality Carsten Langgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox