All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: mount accessing /dev/cdrom as a symlink
Date: Sun, 29 Aug 2004 17:08:23 +1000	[thread overview]
Message-ID: <200408291708.23368.russell@coker.com.au> (raw)
In-Reply-To: <20040828181909.GF11546@lkcl.net>

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.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
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.

  reply	other threads:[~2004-08-29  7:08 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 [this message]
2004-08-29  9:11   ` Luke Kenneth Casson Leighton

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=200408291708.23368.russell@coker.com.au \
    --to=russell@coker.com.au \
    --cc=lkcl@lkcl.net \
    --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.