mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Alexey Dobriyan" <adobriyan@gmail.com>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: just how "sanitized" are the sanitized headers?
Date: Thu, 30 Nov 2006 11:26:04 +0300	[thread overview]
Message-ID: <b6fcc0a0611300026y6defe704o4f7dd4f1e82d5c1b@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0611291812510.7515@localhost.localdomain>

On 11/30/06, Robert P. J. Day <rpjday@mindspring.com> wrote:
>   i noticed that, when i generate the sanitized headers with "make
> headers_install", there are still a number of headers files that are
> installed with variations on "#ifdef __KERNEL__".
>
>   i always thought the fundamental property of sanitized headers was
> to be compatible with glibc

You were wrong.

> and have no traces of "KERNEL" content
> left.

That's correct.

> so what's the purpose of leaving some header files with that
> preprocessor content?

When you see __KERNEL__ in sanitized headers, it's either due to
a) unifdef bug, or
b) header being listed in header-y when it should be listed in unifdef-y

  reply	other threads:[~2006-11-30  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 23:15 Robert P. J. Day
2006-11-30  8:26 ` Alexey Dobriyan [this message]
2006-11-30  9:55   ` Robert P. J. Day

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=b6fcc0a0611300026y6defe704o4f7dd4f1e82d5c1b@mail.gmail.com \
    --to=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@mindspring.com \
    /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

all inboxes | Powered by JetHome®