From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: davem@redhat.com (David S. Miller)
Cc: groudier@free.fr, matthias@winterdrache.de, linux-kernel@vger.kernel.org
Subject: Re: sym53c875: reading /proc causes SCSI parity error
Date: Wed, 28 Nov 2001 23:47:45 +0000 (GMT) [thread overview]
Message-ID: <E169EQb-0006WK-00@the-village.bc.nu> (raw)
In-Reply-To: <20011128.131503.22504634.davem@redhat.com> from "David S. Miller" at Nov 28, 2001 01:15:03 PM
> Why not just put some bitmap pointer into the pci device
> struct. If it is non-NULL, it specifies PCI config space
> areas which have side-effects.
Why not avoid poking around in dangerous device spaces. We don't have a
bitmap to protect /dev/mem either. The problem is similar too, we have many
devices with config space beyond the guaranteed bytes that do fatal
things that are not driven directly by Linux - eg some bridges have acpi
stuff overlapping there.
A non root user can only touch the safe bytes
prev parent reply other threads:[~2001-11-28 23:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-28 18:28 sym53c875: reading /proc causes SCSI parity error Matthias Benkmann
2001-11-28 18:14 ` Gérard Roudier
2001-11-28 19:13 ` Mathieu Chouquet-Stringer
2001-11-28 19:40 ` Matthias Benkmann
2001-11-28 19:56 ` Mathieu Chouquet-Stringer
2001-11-28 21:15 ` David S. Miller
2001-11-28 19:51 ` Gérard Roudier
2001-11-28 22:49 ` David S. Miller
2001-11-29 19:40 ` Gérard Roudier
2001-11-28 23:47 ` Alan Cox [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=E169EQb-0006WK-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=davem@redhat.com \
--cc=groudier@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=matthias@winterdrache.de \
/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).