Speed up startup time of sepolicy gui
- Clean up ports screen to only show enabled ports. - Update to upstream * Remove import policycoreutils.default_encoding_utf8 from semanage from Dan Walsh. * Make yum/extract_rpms optional for sepolicy generate from Dan Walsh. * Add test suite for audit2allow and sepolgen-ifgen from Dan Walsh.
This commit is contained in:
parent
5d97d38d1b
commit
394f387019
@ -253198,6 +253198,24 @@ index 89201e1..af72868 100644
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
X-GNOME-Autostart-enabled=false
|
||||
diff --git a/policycoreutils/restorecond/restorecond.service b/policycoreutils/restorecond/restorecond.service
|
||||
index 7d64cc5..f560b05 100644
|
||||
--- a/policycoreutils/restorecond/restorecond.service
|
||||
+++ b/policycoreutils/restorecond/restorecond.service
|
||||
@@ -4,9 +4,10 @@ After=syslog.target
|
||||
ConditionPathExists=/etc/selinux/restorecond.conf
|
||||
|
||||
[Service]
|
||||
-Type=oneshot
|
||||
-ExecStart=/usr/sbin/restorecond
|
||||
-RemainAfterExit=yes
|
||||
+Environment=LANG=C
|
||||
+
|
||||
+ExecStart=/usr/sbin/restorecond -d
|
||||
+ExecStop=/bin/kill -WINCH ${MAINPID}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
diff --git a/policycoreutils/sandbox/sandbox b/policycoreutils/sandbox/sandbox
|
||||
index fb5a24c..3668abe 100644
|
||||
--- a/policycoreutils/sandbox/sandbox
|
||||
@ -259380,6 +259398,19 @@ index 779fd75..29ccbdf 100644
|
||||
}
|
||||
_sepolicy () {
|
||||
local command=${COMP_WORDS[1]}
|
||||
diff --git a/policycoreutils/sepolicy/sepolicy-generate.8 b/policycoreutils/sepolicy/sepolicy-generate.8
|
||||
index 96c20fc..3a76976 100644
|
||||
--- a/policycoreutils/sepolicy/sepolicy-generate.8
|
||||
+++ b/policycoreutils/sepolicy/sepolicy-generate.8
|
||||
@@ -13,7 +13,7 @@ Common options
|
||||
Confined Applications
|
||||
|
||||
.br
|
||||
-.B sepolicy generate \-\-application [\-n NAME] command [\-w WRITE_PATH ]
|
||||
+.B sepolicy generate \-\-application [\-n NAME] [\-u USER ]command [\-w WRITE_PATH ]
|
||||
.br
|
||||
.B sepolicy generate \-\-cgi [\-n NAME] command [\-w WRITE_PATH ]
|
||||
.br
|
||||
diff --git a/policycoreutils/sepolicy/sepolicy.py b/policycoreutils/sepolicy/sepolicy.py
|
||||
index 74fb347..adb6ca5 100755
|
||||
--- a/policycoreutils/sepolicy/sepolicy.py
|
||||
@ -263562,6 +263593,18 @@ index 1275c7f..e3137db 100644
|
||||
<property name="enable_search">False</property>
|
||||
<signal name="row-activated" handler="on_advanced_search_treeview_row_activated" swapped="no"/>
|
||||
<child internal-child="selection">
|
||||
diff --git a/policycoreutils/sepolicy/sepolicy/templates/executable.py b/policycoreutils/sepolicy/sepolicy/templates/executable.py
|
||||
index 4b9534d..0db6b9c 100644
|
||||
--- a/policycoreutils/sepolicy/sepolicy/templates/executable.py
|
||||
+++ b/policycoreutils/sepolicy/sepolicy/templates/executable.py
|
||||
@@ -86,6 +86,7 @@ roleattribute system_r TEMPLATETYPE_roles;
|
||||
type TEMPLATETYPE_t;
|
||||
type TEMPLATETYPE_exec_t;
|
||||
application_domain(TEMPLATETYPE_t, TEMPLATETYPE_exec_t)
|
||||
+role TEMPLATETYPE_roles types TEMPLATETYPE_t;
|
||||
|
||||
permissive TEMPLATETYPE_t;
|
||||
"""
|
||||
diff --git a/policycoreutils/sepolicy/sepolicy/templates/spec.py b/policycoreutils/sepolicy/sepolicy/templates/spec.py
|
||||
index 16a2208..d8ee42f 100644
|
||||
--- a/policycoreutils/sepolicy/sepolicy/templates/spec.py
|
||||
|
Loading…
Reference in New Issue
Block a user