From: Daniel Jurgens <danielj@xxxxxxxxxxxx> Implements new tests for Infiniband pkeys and endports. Because infiniband isn't widely used, and when it is the configuration is site specific, configuration files are used to enable the tests and set environment specific settings. When the tests are disable they always show as passed. If enabled, the tests require correstponding updates to selinux, refpolicy, and the linux kernel. Daniel Jurgens (2): selinux-testsuite: Infiniband pkey tests selinux-testsuite: Infiniband endport tests README | 14 +++ policy/Makefile | 3 +- policy/test_ibendport.te | 37 +++++++ policy/test_ibpkey.te | 23 +++++ tests/Makefile | 8 +- tests/infiniband_endport/ibendport_test.conf | 14 +++ tests/infiniband_endport/test | 49 +++++++++ tests/infiniband_pkey/Makefile | 7 ++ tests/infiniband_pkey/create_modify_qp.c | 144 +++++++++++++++++++++++++++ tests/infiniband_pkey/ibpkey_test.conf | 14 +++ tests/infiniband_pkey/test | 45 +++++++++ 11 files changed, 354 insertions(+), 4 deletions(-) create mode 100644 policy/test_ibendport.te create mode 100644 policy/test_ibpkey.te create mode 100644 tests/infiniband_endport/ibendport_test.conf create mode 100644 tests/infiniband_endport/test create mode 100644 tests/infiniband_pkey/Makefile create mode 100644 tests/infiniband_pkey/create_modify_qp.c create mode 100644 tests/infiniband_pkey/ibpkey_test.conf create mode 100644 tests/infiniband_pkey/test -- 2.12.2