From: Guido Trentalancia <guido@trentalancia.net>
To: selinux@tycho.nsa.gov
Subject: [PATCH] Build the SELinux testsuite on systems using the Reference Policy
Date: Wed, 24 Aug 2016 14:39:56 +0200 [thread overview]
Message-ID: <1472042396.4446.4.camel@trentalancia.net> (raw)
Fix the Makefile in the policy subdirectory of the SELinux testsuite
so that it builds correctly on the standard Reference Policy which
does not have the same booleans available on Red Hat.
Signed-off-by: Guido Trentalancia <guido@trentalancia.net>
---
policy/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- selinux-testsuite-git-23082016-orig/policy/Makefile 2016-08-23 20:50:08.527633728 +0200
+++ selinux-testsuite-git-23082016/policy/Makefile 2016-08-24 14:38:08.987455031 +0200
@@ -68,7 +68,7 @@ load_rhel: all
load_general: all
# General policy load
- /usr/sbin/setsebool allow_domain_fd_use=0
+ /usr/sbin/getsebool -a | grep -q allow_domain_fd_use && /usr/sbin/setsebool allow_domain_fd_use=0
$(SEMODULE) -i test_policy/test_policy.pp
unload_rhel:
@@ -77,7 +77,7 @@ unload_rhel:
unload_general:
# General policy unload
- /usr/sbin/setsebool allow_domain_fd_use=1
+ /usr/sbin/getsebool -a | grep -q allow_domain_fd_use && /usr/sbin/setsebool allow_domain_fd_use=1
$(SEMODULE) -r test_policy
clean:
next reply other threads:[~2016-08-24 12:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 12:39 Guido Trentalancia [this message]
2016-08-24 14:11 ` [PATCH v2] Build the SELinux testsuite on systems using the Reference Policy Guido Trentalancia
2016-08-26 17:06 ` Stephen Smalley
2016-08-26 17:40 ` [PATCH v3] " Guido Trentalancia
2016-08-26 17:49 ` Stephen Smalley
2016-08-26 17:50 ` [PATCH v4] " Guido Trentalancia
2016-08-26 17:58 ` Stephen Smalley
2016-08-26 18:36 ` [PATCH v5] " Guido Trentalancia
2016-09-01 12:38 ` Stephen Smalley
2016-09-01 12:39 ` Guido Trentalancia
2016-08-24 14:12 ` [PATCH v2] " Guido Trentalancia
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=1472042396.4446.4.camel@trentalancia.net \
--to=guido@trentalancia.net \
--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.