All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: James Morris <jmorris@namei.org>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: MLS/MCS Constraints causing problems for unconfined_t.
Date: Mon, 09 Jan 2006 15:54:11 -0500	[thread overview]
Message-ID: <43C2CD73.1000006@redhat.com> (raw)
In-Reply-To: <1136824820.19934.64.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:
> On Mon, 2006-01-09 at 11:13 -0500, Daniel J Walsh wrote:
>   
>> Currently unconfined_t can not read the pid of certain domains in 
>> targeted policy that are running at s0-s0:c0.c255
>> For instance audit2allow will give the following after a reboot. since 
>> the shutdown process tries to killall processes and reads these.
>>
>> allow unconfined_t auditd_t:file read;
>> allow unconfined_t crond_t:file read;
>> allow unconfined_t cupsd_t:file read;
>> allow unconfined_t hald_t:file read;
>> allow unconfined_t udev_t:file read;
>> allow unconfined_t self:file read;
>> allow unconfined_t xdm_t:file read;
>>
>> Also if a sysadm run top it will generate this kind of AVC messages.  
>> These are somewhat expected, should we dontaudit these?  Will dontaudit 
>> work on an MLS Constraint failure?
>>     
>
> For MCS, the obvious question is why are these domains running ranged?
>   
Things like login programs need to allow the user to login at certain 
ranges via seusers.

So if I can login as s0-s0:c0,c4 login programs and cron need to be able 
to start jobs at that level.

Similarly if cups needs to be able to print labeled files.


> For MLS, is unconfined_t used?
>
> dontaudit will suppress audit messages caused by a constraint if the
> types and class match.
>
>   
No but I just see top as staff user triggering lots of AVC.  So Iguess 
we should allow and dontaudit them.


--
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:[~2006-01-09 20:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-09 16:13 MLS/MCS Constraints causing problems for unconfined_t Daniel J Walsh
2006-01-09 16:40 ` Stephen Smalley
2006-01-09 20:54   ` Daniel J Walsh [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=43C2CD73.1000006@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=jmorris@namei.org \
    --cc=sds@tycho.nsa.gov \
    --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.