linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Hannes Reinecke <hare@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] include/linux/personality.h
Date: Mon, 21 Jul 2003 13:39:19 +0100	[thread overview]
Message-ID: <20030721133919.B24319@infradead.org> (raw)
In-Reply-To: <3F1BD193.3080701@suse.de>; from hare@suse.de on Mon, Jul 21, 2003 at 01:42:11PM +0200

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.


      reply	other threads:[~2003-07-21 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 11:42 [PATCH] include/linux/personality.h Hannes Reinecke
2003-07-21 12:39 ` Christoph Hellwig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030721133919.B24319@infradead.org \
    --to=hch@infradead.org \
    --cc=hare@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).