From: ramsdell@mitre.org (John D. Ramsdell)
To: SELinux@tycho.nsa.gov
Subject: Announce: Slat 1.1.0 with policy deconditionalizer
Date: 20 Feb 2004 06:21:18 -0500 [thread overview]
Message-ID: <ogty8qyxahd.fsf@divan.mitre.org> (raw)
In-Reply-To: <000c01c3f265$9139f860$020d010a@columbia.tresys.com>
Slat version 1.1.0 has been committed into the nsa module of the
selinux project on SourceForge. This version reimplements some old
fixes that somehow were left out of the repository at NSA, and
provides a new program called poldecond.
The poldecond program accepts policy configuration files that use the
conditional policy extension. The program extracts the
conditional-less policy defined by using the default value for each
boolean in the input. For example, suppose ping.te contains the
following boolean declaration:
bool user_ping false;
The command
$ poldecond ping.te ping_false.te
will produce a te file with user_ping = true branches elided.
The value for the first boolean declaration overrides all others, so
one can derive other policies by adding boolean declarations with
different defaults at the beginning of the input. For example, to
produce a te file with user_ping = false branches elided, use the
command:
$ echo 'bool user_ping true;' | cat - ping.te | poldecond - ping_true.te
John
--
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.
prev parent reply other threads:[~2004-02-20 11:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-22 22:47 Announce: SELinux conditional policy extensions Karl MacMillan
2004-02-13 1:22 ` Joshua D. Guttman
2004-02-13 5:19 ` Colin Walters
2004-02-13 14:43 ` Stephen Smalley
2004-02-13 19:24 ` Frank Mayer
2004-02-13 19:14 ` Frank Mayer
2004-02-14 3:51 ` Russell Coker
2004-02-20 13:05 ` John D. Ramsdell
2004-02-20 13:23 ` Stephen Smalley
2004-02-20 14:46 ` Frank Mayer
2004-02-20 15:14 ` John D. Ramsdell
2004-02-16 21:20 ` Joshua D. Guttman
2004-02-17 1:50 ` Frank Mayer
2004-02-20 11:21 ` John D. Ramsdell [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=ogty8qyxahd.fsf@divan.mitre.org \
--to=ramsdell@mitre.org \
--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.