All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: linux-kernel@vger.kernel.org
Subject: asm-x86/byteorder.h, CONFIG_X86_BSWAP leaks to userland
Date: Mon, 21 Jul 2008 15:18:46 +0200	[thread overview]
Message-ID: <20080721131846.GA28697@aepfle.de> (raw)


What is the purpose of CONFIG_X86_BSWAP in asm-x86/byteorder.h?

An undefined CONFIG_foo defaults to 0 (I think), so bswap is never used.
Is this done on purpose, or can the CONFIG_ foo be moved inside
__KERNEL__ somehow?

Olaf

             reply	other threads:[~2008-07-21 13:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21 13:18 Olaf Hering [this message]
     [not found] <20080726013931.bcc4682d.akpm@linux-foundation.org>
2008-07-26 16:40 ` Fw: asm-x86/byteorder.h, CONFIG_X86_BSWAP leaks to userland Harvey Harrison
2008-07-26 16:48   ` H. Peter Anvin
2008-07-26 16:59     ` Arjan van de Ven
2008-07-26 18:18       ` H. Peter Anvin

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=20080721131846.GA28697@aepfle.de \
    --to=olaf@aepfle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.