From: Justin Smith <jsmith@mcs.drexel.edu>
To: selinux@tycho.nsa.gov
Subject: X windows with i810 chip
Date: 02 Dec 2001 10:51:35 -0500 [thread overview]
Message-ID: <1007308295.1903.0.camel@jsmith.org> (raw)
X windows presents special problems with this (unfortunately common)
graphics chip. Even with all of the standard allows declarations for X
windows (and a few extras), I get the following:
avc: denied { read } for pid=1215 exe=/usr/X11R6/bin/XFree86
path=/dev/mem dev=03:01 ino=25224
scontext=jsmith:user_r:user_t
tcontext=system_u:object_r:memory_device_t
tclass=chr_file
avc: denied { read write } for pid=1215 exe=/usr/X11R6/bin/XFree86
path=/dev/mem dev=03:01 ino=25224
scontext=jsmith:user_r:user_t
tcontext=system_u:object_r:memory_device_t
tclass=chr_file
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 261M
agpgart: Detected an Intel i810 E Chipset.
agpgart: detected 4MB dedicated video ram.
agpgart: AGP aperture is 64M @ 0xf8000000
avc: denied { read write } for pid=1215 exe=/usr/X11R6/bin/XFree86
path=/dev/mem dev=03:01 ino=25224
scontext=jsmith:user_r:user_t
tcontext=system_u:object_r:memory_device_t
tclass=chr_file
I have been unable to enable this access (perhaps there's a 'neverallow'
coded for it). Any suggestions would be appreciated! (I really need X
windows --- to the extent that I would have to discontinue using SELinux
if it prohibits it).
Is there a way to allow memory access for a RESTRICTED range of
addresses (if so, a hacker would at most be able to display pictures on
the screen)? (Maybe this would require assigning types to PARTS of a
device, ranges of bytes).
--
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next reply other threads:[~2001-12-02 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-02 15:51 Justin Smith [this message]
2001-12-02 22:21 ` X windows with i810 chip Russell Coker
2001-12-03 15:13 ` Stephen Smalley
2001-12-03 20:05 ` Justin Smith
2001-12-03 20:18 ` Stephen Smalley
2001-12-03 20:22 ` Stephen Smalley
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=1007308295.1903.0.camel@jsmith.org \
--to=jsmith@mcs.drexel.edu \
--cc=selinux@tycho.nsa.gov \
/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.