forked from pool/selinux-policy
72477b3ac5
- Update to version 20210716 - Remove interfaces for container module before building the package (bsc#1188184) - Updated * fix_init.patch * fix_systemd_watch.patch to adapt to upstream changes - Use tabrmd SELinux modules from tpm2.0-abrmd instead of storing here - Update to version 20210419 - Dropped fix_gift.patch, module was removed - Updated wicked.te to removed dropped interface - Refreshed: * fix_cockpit.patch * fix_hadoop.patch * fix_init.patch * fix_logging.patch * fix_logrotate.patch * fix_networkmanager.patch * fix_nscd.patch * fix_rpm.patch * fix_selinuxutil.patch * fix_systemd.patch * fix_systemd_watch.patch * fix_thunderbird.patch * fix_unconfined.patch * fix_unconfineduser.patch * fix_unprivuser.patch OBS-URL: https://build.opensuse.org/request/show/909369 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=113
23 lines
629 B
Diff
23 lines
629 B
Diff
Index: fedora-policy-20210628/policy/modules/system/unconfined.te
|
|
===================================================================
|
|
--- fedora-policy-20210628.orig/policy/modules/system/unconfined.te
|
|
+++ fedora-policy-20210628/policy/modules/system/unconfined.te
|
|
@@ -1,5 +1,10 @@
|
|
policy_module(unconfined, 3.5.0)
|
|
|
|
+require {
|
|
+ type var_run_t;
|
|
+ type net_conf_t;
|
|
+}
|
|
+
|
|
########################################
|
|
#
|
|
# Declarations
|
|
@@ -41,3 +46,6 @@ optional_policy(`
|
|
optional_policy(`
|
|
container_runtime_domtrans(unconfined_service_t)
|
|
')
|
|
+
|
|
+filetrans_pattern(unconfined_service_t, var_run_t, net_conf_t, dir)
|
|
+
|