SELinuxProject / selinux-testsuite

This is the upstream SELinux testsuite which is designed as a basic set of regression tests for the SELinux kernel functionality.
GNU General Public License v2.0
53 stars 43 forks source link

selinux-testsuite: drop use of userdom_read_inherited_user_tmp_files #64

Closed stephensmalley closed 5 years ago

stephensmalley commented 5 years ago

The overlay test policy had two calls to the userdom_read_inherited_user_tmp_files() policy interface. This is a Fedora-specific interface that is not present in refpolicy and therefore prevents building the test policy on other distributions. Further, there is no clear reason why the calls to this interface are needed for the overlay tests; the tests are not inheriting open /tmp files. Remove the calls.

Fixes: https://github.com/SELinuxProject/selinux-testsuite/issues/57 Signed-off-by: Stephen Smalley sds@tycho.nsa.gov