All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominick Grift <dac.override@gmail.com>
To: Russell Coker <russell@coker.com.au>
Cc: "selinux-refpolicy\@vger.kernel.org" 
	<selinux-refpolicy@vger.kernel.org>
Subject: Re: what's up with mac_admin
Date: Mon, 11 Mar 2019 07:53:29 +0100	[thread overview]
Message-ID: <87ftrtx5p2.fsf@gmail.com> (raw)
In-Reply-To: <2502654.FxcCWanWCu@liv> (Russell Coker's message of "Mon, 11 Mar 2019 09:31:16 +1100")

Russell Coker <russell@coker.com.au> writes:

> type=AVC msg=audit(1552226284.038:2422): avc:  denied  { mac_admin } for  
> pid=8289 comm="rsync" capability=33  
> scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 
> tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=capability2 
> permissive=0

Its for setting invalid labels. Something you generally want to avoid.

>
> The above is from running rsync with the -X option.
>
> $ grep -R mac_admin .
> ./policy/flask/access_vectors:  mac_admin       # unused by SELinux
> ./policy/modules/apps/livecd.te:dontaudit livecd_t self:capability2 mac_admin;
>
> Grepping the git policy shows that there's a comment saying it's unused as 
> well as a dontaudit rule indicating that it has been used for some time.

-- 
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02
https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02
Dominick Grift

  reply	other threads:[~2019-03-11  6:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-10 22:31 what's up with mac_admin Russell Coker
2019-03-11  6:53 ` Dominick Grift [this message]
2019-03-12  0:50   ` Chris PeBenito

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=87ftrtx5p2.fsf@gmail.com \
    --to=dac.override@gmail.com \
    --cc=russell@coker.com.au \
    --cc=selinux-refpolicy@vger.kernel.org \
    /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.