All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <pmoore@redhat.com>
To: selinux@tycho.nsa.gov
Subject: [PATCH 4/4] selinux-testsuite: allow unconfined_t entrypoint to test_nnp_bounded_exec_t
Date: Mon, 09 Feb 2015 18:06:47 -0500	[thread overview]
Message-ID: <20150209230647.2579.61237.stgit@localhost> (raw)
In-Reply-To: <20150209230426.2579.84520.stgit@localhost>

From: Stephen Smalley <sds@tycho.nsa.gov>

A necessary fix for recent systems running the NNP tests from the
unconfined_t domain.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
[PM: tweaked the subject line and added a brief description]
Signed-off-by: Paul Moore <pmoore@redhat.com>
---
 0 files changed

diff --git a/policy/test_nnp.te b/policy/test_nnp.te
index 69cd714..54ebfd3 100644
--- a/policy/test_nnp.te
+++ b/policy/test_nnp.te
@@ -13,6 +13,7 @@ typebounds unconfined_t test_nnp_bounded_t;
 type test_nnp_bounded_exec_t;
 files_type(test_nnp_bounded_exec_t)
 domain_entry_file(test_nnp_bounded_t, test_nnp_bounded_exec_t)
+domain_entry_file(unconfined_t, test_nnp_bounded_exec_t)
 
 # Run it!  This should succeed on v3.18 or later, fail on older kernels.
 unconfined_runs_test(test_nnp_bounded_t)

      parent reply	other threads:[~2015-02-09 23:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 23:06 [PATCH 0/4] Fix the selinux-testsuite for RHEL5,6,7 and Rawhide Paul Moore
2015-02-09 23:06 ` [PATCH 1/4] selinux-testsuite: add improved OS detection Paul Moore
2015-02-09 23:06 ` [PATCH 2/4] selinux-testsuite: allow the file test to work with all coreutils versions Paul Moore
2015-02-09 23:06 ` [PATCH 3/4] selinux-testsuite: enable task_setscheduler to work with cgroups Paul Moore
2015-02-09 23:06 ` Paul Moore [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=20150209230647.2579.61237.stgit@localhost \
    --to=pmoore@redhat.com \
    --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.