All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Doug Goldstein <cardoe@cardoe.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: XSM denials with 4.7.0 RC1
Date: Wed, 4 May 2016 13:20:26 -0400	[thread overview]
Message-ID: <572A2F5A.1080800@tycho.nsa.gov> (raw)
In-Reply-To: <37c4c8fe-c803-dcd1-4934-0674628b2c45@cardoe.com>

On 05/04/2016 09:52 AM, Doug Goldstein wrote:
> Hi all,
>
> Sometime after d4cd5a205973171475b8c63bc250c2803e0f51fa, I get the
> following denials for any domU that attempts to run "xl". In my
> situation my domU needs to run "xl devd" because its a driver domain.
>
> (XEN) avc:  denied  { xen_extraversion } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version
> (XEN) avc:  denied  { xen_extraversion } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version
> (XEN) avc:  denied  { xen_compile_info } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version
> (XEN) avc:  denied  { xen_capabilities } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version
> (XEN) avc:  denied  { xen_changeset } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version
> (XEN) avc:  denied  { xen_pagesize } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version

These 6 denials should not happen with the policy in 4.7.0-rc1; are
you using an older policy?

> (XEN) avc:  denied  { xen_commandline } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version
> (XEN) avc:  denied  { xen_build_id } for domid=1
> scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t
> tclass=version

If these show up for domUs in normal operation (and I think using
"xl devd" probably qualifies for that), then they probably need
dontaudit rules.

-- 
Daniel De Graaf
National Security Agency

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-05-04 17:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 13:52 XSM denials with 4.7.0 RC1 Doug Goldstein
2016-05-04 13:58 ` Jan Beulich
2016-05-04 14:00   ` Doug Goldstein
2016-05-04 14:05 ` Wei Liu
2016-05-04 15:33   ` Konrad Rzeszutek Wilk
2016-05-04 17:20 ` Daniel De Graaf [this message]
2016-05-04 19:35   ` Doug Goldstein
2016-05-04 19:39     ` Konrad Rzeszutek Wilk
2016-05-04 19:43       ` Doug Goldstein

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=572A2F5A.1080800@tycho.nsa.gov \
    --to=dgdegra@tycho.nsa.gov \
    --cc=cardoe@cardoe.com \
    --cc=xen-devel@lists.xen.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.