The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Matt LaPlante <kernel1@cyberdogtech.com>
To: linux-kernel@vger.kernel.org
Cc: trivial@kernel.org, Matt LaPlante <kernel1@cyberdogtech.com>
Subject: [PATCH] Change default for STRICT_DEVMEM
Date: Fri,  7 Nov 2008 14:18:36 -0600	[thread overview]
Message-ID: <1226089116-7700-1-git-send-email-kernel1@cyberdogtech.com> (raw)

The recommendation for STRICT_DEVMEM is to select Y,
however the option currently defaults to N.  Have the option
default to Y since it is recommended.

---
 arch/x86/Kconfig.debug |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 2a3dfbd..a03597c 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -7,6 +7,7 @@ source "lib/Kconfig.debug"
 
 config STRICT_DEVMEM
 	bool "Filter access to /dev/mem"
+	default y
 	help
 	  If this option is disabled, you allow userspace (root) access to all
 	  of memory, including kernel and userspace memory. Accidental
-- 
1.5.6.3


             reply	other threads:[~2008-11-07 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07 20:18 Matt LaPlante [this message]
2008-11-07 22:00 ` [PATCH] Change default for STRICT_DEVMEM Alan Cox
2008-11-07 23:05   ` Arjan van de Ven
2008-11-07 23:20   ` Matt LaPlante
2008-11-08 11:42 ` Ingo Molnar

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=1226089116-7700-1-git-send-email-kernel1@cyberdogtech.com \
    --to=kernel1@cyberdogtech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@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