mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Bernhard Walle <bwalle@suse.de>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH 2/2] Add dev.mem.restricted sysctl
Date: Sun, 16 Nov 2008 00:12:37 +0000	[thread overview]
Message-ID: <20081116001237.77e60caf@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20081116010914.1285b884@kopernikus.site>

> Well, I think that option makes sense to protect the system
> from processes that *accidentally* read/write to the wrong memory
> location (like the X server that always runs as root).

Older X drivers very carefully only map the memory they need. They also
unmap and remap as well as using iopl/ioperm ranges to avoid such
accidents. Newer ones are all DMA command chains and stuff so it won't
make one iota of difference.


  reply	other threads:[~2008-11-16  0:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-16  0:03 [RFC] " Bernhard Walle
2008-11-16  0:03 ` [PATCH 1/2] Unify devmem_is_allowed across architectures Bernhard Walle
2008-11-16  0:03 ` [PATCH 2/2] Add dev.mem.restricted sysctl Bernhard Walle
2008-11-16  0:07   ` Alan Cox
2008-11-16  0:09     ` Bernhard Walle
2008-11-16  0:12       ` Alan Cox [this message]
2008-11-16  0:11   ` Bernhard Walle
2008-11-16  0:33   ` Alexey Dobriyan
2008-11-16  9:28     ` Bernhard Walle
2008-11-16 10:13       ` Alexey Dobriyan
2008-11-16  3:49   ` Arjan van de Ven
2008-11-16  9:30     ` Bernhard Walle
2008-11-16  9:36       ` Arjan van de Ven

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=20081116001237.77e60caf@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=bwalle@suse.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@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

all inboxes | Powered by JetHome®