From: Denis Obrezkov <denisobrezkov@gmail.com>
To: selinux@vger.kernel.org
Subject: rangetranstion in cil fails and doesn't produce explanatory output
Date: Mon, 3 Feb 2020 13:21:15 +0100 [thread overview]
Message-ID: <6a4178fa-72fd-22af-519b-16cd2ec6c3a1@gmail.com> (raw)
Hello,
I am trying to make rangetransition work, this is my cil file:
(type foo)
(type bar)
(allow foo bar (file (ioctl read write create getattr setattr lock
relabelfrom relabelto append unlink link rename execute swapon quotaon
mounton)))
(rangetransition foo bar process s0)
Now, I am trying to install it:
semodule -i lximage.cil
Failed to resolve rangetransition statement at
/var/lib/selinux/refpolicy_mcs/tmp/modules/400/lximage/cil:4
semodule: Failed!
I use Debian Testing with refpolicy enforced. Policy type = mcs.
What is wrong with my module? How can I get more explanatory output?
--
Regards, Denis Obrezkov
next reply other threads:[~2020-02-03 12:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-03 12:21 Denis Obrezkov [this message]
2020-02-03 19:44 ` [Non-DoD Source] rangetranstion in cil fails and doesn't produce explanatory output jwcart2
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=6a4178fa-72fd-22af-519b-16cd2ec6c3a1@gmail.com \
--to=denisobrezkov@gmail.com \
--cc=selinux@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).