From: Paul Moore <paul@xxxxxxxxxxxxxx> Depending on the system state, the netlink tests added in 2dbd45fd3a61 ("selinux-testsuite: add tests for new netlink socket classes") may need to load additional kernel modules to operate properly. Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx> --- policy/test_netlink_socket.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/test_netlink_socket.te b/policy/test_netlink_socket.te index b56c06c..c852c04 100644 --- a/policy/test_netlink_socket.te +++ b/policy/test_netlink_socket.te @@ -48,3 +48,6 @@ netlink_socket_test(netlink_crypto_socket) # Entry into the test domains via the test program. miscfiles_domain_entry_test_files(netlinksocktestdomain) userdom_sysadm_entry_spec_domtrans_to(netlinksocktestdomain) + +# Trigger kernel module auto-loading of the protocol implementations. +kernel_request_load_module(netlinksocktestdomain) _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.