From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Russell Coker <russell@coker.com.au>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: mount accessing /dev/cdrom as a symlink
Date: Sun, 29 Aug 2004 10:11:47 +0100 [thread overview]
Message-ID: <20040829091147.GB7610@lkcl.net> (raw)
In-Reply-To: <200408291708.23368.russell@coker.com.au>
On Sun, Aug 29, 2004 at 05:08:23PM +1000, Russell Coker wrote:
> On Sun, 29 Aug 2004 04:19, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > i had to add this to the mount.te policy in order to allow mount
> > to actually succeed on a udev-automatically-created /dev/cdrom symlink
> > (to /dev/hdc which is my ide cdrom drive).
> >
> > so, the question is: should udev have relabelled that symlink correctly,
> > or should mount be allowed to read device_t symlinks?
>
> Mount should be allowed to read device_t symlinks. There should be no symlink
> under /dev with a type other than device_t under the current design.
okay, great. so for once i DidTheRightThing. gosh.
--
This message was distributed to subscribers of the selinux mailing 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.
prev parent reply other threads:[~2004-08-29 9:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-28 18:19 mount accessing /dev/cdrom as a symlink Luke Kenneth Casson Leighton
2004-08-29 7:08 ` Russell Coker
2004-08-29 9:11 ` Luke Kenneth Casson Leighton [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=20040829091147.GB7610@lkcl.net \
--to=lkcl@lkcl.net \
--cc=russell@coker.com.au \
--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.