From: Stephen Smalley <sds@tycho.nsa.gov>
To: selinux@tycho.nsa.gov
Cc: paul@paul-moore.com, Stephen Smalley <sds@tycho.nsa.gov>
Subject: [PATCH 1/2] selinux-testsuite: exclude netlink_socket tests from RHEL7
Date: Thu, 16 Feb 2017 13:50:04 -0500 [thread overview]
Message-ID: <1487271005-3728-2-git-send-email-sds@tycho.nsa.gov> (raw)
In-Reply-To: <1487271005-3728-1-git-send-email-sds@tycho.nsa.gov>
RHEL7.3 updated its policy to define the new netlink socket classes,
thereby enabling execution of the netlink_socket tests, but its
kernel does not include the corresponding kernel patch implementing
them. Disable these tests on RHEL7.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
---
tests/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile
index 1311234..11008a9 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -40,6 +40,10 @@ ifeq ($(DISTRO),RHEL6)
SUBDIRS:=$(filter-out nnp overlay, $(SUBDIRS))
endif
+ifeq ($(DISTRO),RHEL7)
+ SUBDIRS:=$(filter-out netlink_socket, $(SUBDIRS))
+endif
+
.PHONY: all test clean
all:
--
2.7.4
next prev parent reply other threads:[~2017-02-16 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-16 18:50 [PATCH 0/2] selinux-testsuite: fixes for RHEL7.3 Stephen Smalley
2017-02-16 18:50 ` Stephen Smalley [this message]
2017-02-16 18:50 ` [PATCH 2/2] selinux-testsuite: fix nnp test for RHEL7 Stephen Smalley
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=1487271005-3728-2-git-send-email-sds@tycho.nsa.gov \
--to=sds@tycho.nsa.gov \
--cc=paul@paul-moore.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.