From: Chris PeBenito <pebenito@ieee.org>
To: Dominick Grift <dac.override@gmail.com>,
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 20:50:43 -0400 [thread overview]
Message-ID: <2b937872-7fbd-a3bc-9bcd-b659cf360d04@ieee.org> (raw)
In-Reply-To: <87ftrtx5p2.fsf@gmail.com>
On 3/11/19 2:53 AM, Dominick Grift wrote:
> 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.
Correct. There used to be a neverallow, but when that was removed, we
forgot to remove the comment in access_vectors. It's gone now.
>>
>> 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.
>
--
Chris PeBenito
prev parent reply other threads:[~2019-03-12 0:50 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
2019-03-12 0:50 ` Chris PeBenito [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=2b937872-7fbd-a3bc-9bcd-b659cf360d04@ieee.org \
--to=pebenito@ieee.org \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).