From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Russell Coker <russell@coker.com.au>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: patch for fsadm
Date: Tue, 24 Aug 2004 17:05:45 +0100 [thread overview]
Message-ID: <20040824160545.GA25322@lkcl.net> (raw)
In-Reply-To: <200408250136.19967.russell@coker.com.au>
On Wed, Aug 25, 2004 at 01:36:19AM +1000, Russell Coker wrote:
> On Tue, 24 Aug 2004 07:50, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > usb-mount uses sg_map and disktype.
> >
> > both these programs require some extra stuff.
>
> # this is for sg_map and disktype
> allow fsadm_t scsi_generic_device_t:chr_file { ioctl read };
>
> It only needs ioctl and read access? I'll give it r_file_perms.
>
> +allow fsadm_t tape_device_t:chr_file { read };
>
> Why does it need to access tape devices?
>
> allow fsadm_t removable_device_t:lnk_file { read };
>
> This is wrong. We don't want to label lnk_file objects under /dev other than
> as device_t.
>
> +# /bin/mountpoint to read /dev/shm
> +allow fsadm_t devpts_t:dir { search };
> +allow fsadm_t tmpfs_t:dir { getattr search };
>
> The tmpfs_t part is good, I'm not so sure about the devpts_t part.
cool, hey, well, if enough ends up in the default policy, such that at
some point in the future i can just do apt-get install
selinux-policy-default and it works, _great_.
until then, my lack of experience will mean i have lots of crud
to throw at you, hopefully you'll know which bits to catch and which
to dodge...
l.
--
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-24 15:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-23 21:50 patch for fsadm Luke Kenneth Casson Leighton
2004-08-24 15:36 ` Russell Coker
2004-08-24 16:05 ` 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=20040824160545.GA25322@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.