aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor/vendor_modprobe.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/vendor/vendor_modprobe.te')
-rw-r--r--sepolicy/vendor/vendor_modprobe.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/vendor/vendor_modprobe.te b/sepolicy/vendor/vendor_modprobe.te
new file mode 100644
index 0000000..4a6f93e
--- /dev/null
+++ b/sepolicy/vendor/vendor_modprobe.te
@@ -0,0 +1,4 @@
+allow vendor_modprobe self:capability sys_module;
+allow vendor_modprobe self:cap_userns sys_module;
+allow vendor_modprobe vendor_file:system module_load;
+r_dir_file(vendor_modprobe, vendor_file)