Re: [PATCH] include/linux/personality.h

From: Christoph Hellwig (
Date: Mon Jul 21 2003 - 07:39:19 EST

On Mon, Jul 21, 2003 at 01:42:11PM +0200, Hannes Reinecke wrote:
> Hi all,
> the attached patch encloses the kernel-only parts of personality.h with
> __KERNEL__ to prevent them to be visible in userspace. This also fixes
> the nameclash between the macro personality() with the syscall
> personality() if the header file is included in an userspace program.
> Patch is against 2.4.21, should apply to 2.6.0-test1 equally.

Don't do that, the header shouldn't be used from userspace. There's
a sys/personality.h for you in glibc 2.3.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:42 EST