Re: [PATCH] Make <linux/personality.h> userspace proof

From: Ralf Baechle
Date: Wed Oct 18 2006 - 06:32:30 EST


On Wed, Oct 18, 2006 at 11:24:33AM +0100, Christoph Hellwig wrote:

> On Tue, Oct 17, 2006 at 04:55:26PM +0100, Ralf Baechle wrote:
> > <linux/personality.h> contains the constants for personality(2) but also
> > some defintions that are useless or even harmful in userspace such as
> > the personality() macro.
>
> NACK. glibc has a <sys/personality.h> for that. It's been there since
> at least glibc 2.3.

And I ran over this on a glibc 2.2 system ...

Ralf
-
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/