From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
SE Linux <selinux@tycho.nsa.gov>,
Karl MacMillan <kmacmillan@mentalrootkit.com>
Subject: Re: Patch to allow semanage to set boolean values and translate booleans via policy.xml
Date: Fri, 09 Nov 2007 14:47:25 -0500 [thread overview]
Message-ID: <4734B94D.3010803@redhat.com> (raw)
In-Reply-To: <1194633488.5253.26.camel@gorn>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christopher J. PeBenito wrote:
> On Fri, 2007-11-09 at 11:25 -0500, Stephen Smalley wrote:
>> On Fri, 2007-11-02 at 15:58 -0400, Daniel J Walsh wrote:
>>> Also added translations of booleans to command line.
>>>
>>>> /usr/sbin/semanage boolean -l | grep nfs_export
>>>> nfs_export_all_rw -> off Allow nfs to be exported read/write.
>>>> nfs_export_all_ro -> on Allow nfs to be exported read only
>>>> sh-3.2# /usr/sbin/semanage boolean -l | grep nfs
>>>> xen_use_nfs -> off Allow xen to manage nfs files
> [...]
>>>> nfs_export_all_ro -> on Allow nfs to be exported read only
>>>
>>> This time with the patch. :^)
>> Offhand, the only problem I see it that semanage boolean -l then fails
>> if /usr/share/selinux/devel/policy.xml doesn't exist, rather than just
>> falling back to displaying the untranslated booleans.
>>
>> Also, is /usr/share/selinux/devel/policy.xml created by upstream
>> refpolicy or is it Fedora-specific?
>
> The infrastructure for building a policy.xml from the headers is
> installed by upstream, but the policy.xml from refpolicy is not
> installed. This allows 3rd parties to add their headers and then a
> policy.xml can be built to include their module. Installing a
> policy.xml there is a fedora-specific thing.
>
If I want to rebuild it after an interface file gets installed or want
to add my own xml to it, what do I need to do?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHNLlNrlYvE4MpobMRAn/RAJ4y28V9+rWAyMGHHPrfMxB4wJkZBwCfb4FE
k6KJbDFjCm/b4scaLCmxTwE=
=HzOo
-----END PGP SIGNATURE-----
--
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.
next prev parent reply other threads:[~2007-11-09 19:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-02 19:58 Patch to allow semanage to set boolean values and translate booleans via policy.xml Daniel J Walsh
2007-11-09 16:25 ` Stephen Smalley
2007-11-09 17:05 ` Daniel J Walsh
2007-11-09 18:59 ` Effect of changing SELinux package versions Hasan Rezaul-CHR010
2007-11-09 19:39 ` Stephen Smalley
2007-11-09 22:26 ` Hasan Rezaul-CHR010
2007-12-05 18:00 ` Hasan Rezaul-CHR010
2007-12-05 18:13 ` Stephen Smalley
2007-11-09 18:38 ` Patch to allow semanage to set boolean values and translate booleans via policy.xml Christopher J. PeBenito
2007-11-09 19:47 ` Daniel J Walsh [this message]
2007-11-12 15:45 ` Christopher J. PeBenito
2007-11-14 18:57 ` Daniel J Walsh
2007-11-14 20:14 ` Christopher J. PeBenito
-- strict thread matches above, loose matches on Subject: below --
2007-11-02 19:57 Daniel J Walsh
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=4734B94D.3010803@redhat.com \
--to=dwalsh@redhat.com \
--cc=cpebenito@tresys.com \
--cc=kmacmillan@mentalrootkit.com \
--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.