Add back in the help png files

- Begin Adding support for file equivalency.
This commit is contained in:
Dan Walsh 2013-09-18 15:38:38 -04:00
parent 6879d63783
commit d136271edc

View File

@ -513527,7 +513527,7 @@ index 0000000..a350978
+</busconfig> +</busconfig>
diff --git a/policycoreutils/sepolicy/org.selinux.policy b/policycoreutils/sepolicy/org.selinux.policy diff --git a/policycoreutils/sepolicy/org.selinux.policy b/policycoreutils/sepolicy/org.selinux.policy
new file mode 100644 new file mode 100644
index 0000000..6ac6212 index 0000000..2943aa2
--- /dev/null --- /dev/null
+++ b/policycoreutils/sepolicy/org.selinux.policy +++ b/policycoreutils/sepolicy/org.selinux.policy
@@ -0,0 +1,71 @@ @@ -0,0 +1,71 @@
@ -513568,8 +513568,8 @@ index 0000000..6ac6212
+ </defaults> + </defaults>
+ </action> + </action>
+ <action id="org.selinux.customized"> + <action id="org.selinux.customized">
+ <description>SELinux write access</description> + <description>SELinux Read access</description>
+ <message>System policy prevents customized access to SELinux</message> + <message>System policy prevents read access to SELinux</message>
+ <defaults> + <defaults>
+ <allow_any>yes</allow_any> + <allow_any>yes</allow_any>
+ <allow_inactive>yes</allow_inactive> + <allow_inactive>yes</allow_inactive>
@ -513651,10 +513651,10 @@ index 0000000..afd3f31
+ print e + print e
diff --git a/policycoreutils/sepolicy/selinux_server.py b/policycoreutils/sepolicy/selinux_server.py diff --git a/policycoreutils/sepolicy/selinux_server.py b/policycoreutils/sepolicy/selinux_server.py
new file mode 100644 new file mode 100644
index 0000000..ee931a4 index 0000000..cacb9a2
--- /dev/null --- /dev/null
+++ b/policycoreutils/sepolicy/selinux_server.py +++ b/policycoreutils/sepolicy/selinux_server.py
@@ -0,0 +1,116 @@ @@ -0,0 +1,117 @@
+#!/usr/bin/python +#!/usr/bin/python
+ +
+import dbus +import dbus
@ -513676,6 +513676,7 @@ index 0000000..ee931a4
+ # The semanage method runs a transaction on a series of semanage commands, + # The semanage method runs a transaction on a series of semanage commands,
+ # these commnds can take the output of customized + # these commnds can take the output of customized
+ # + #
+ @slip.dbus.polkit.require_auth("org.selinux.semanage")
+ @dbus.service.method("org.selinux", in_signature='s') + @dbus.service.method("org.selinux", in_signature='s')
+ def semanage(self, buf): + def semanage(self, buf):
+ p = Popen(["/usr/sbin/semanage", "import"],stdout=PIPE, stderr=PIPE, stdin=PIPE) + p = Popen(["/usr/sbin/semanage", "import"],stdout=PIPE, stderr=PIPE, stdin=PIPE)
@ -516049,7 +516050,7 @@ index 26f8390..ba959ae 100644
return out return out
diff --git a/policycoreutils/sepolicy/sepolicy/gui.py b/policycoreutils/sepolicy/sepolicy/gui.py diff --git a/policycoreutils/sepolicy/sepolicy/gui.py b/policycoreutils/sepolicy/sepolicy/gui.py
new file mode 100644 new file mode 100644
index 0000000..b772c7b index 0000000..664b5bb
--- /dev/null --- /dev/null
+++ b/policycoreutils/sepolicy/sepolicy/gui.py +++ b/policycoreutils/sepolicy/sepolicy/gui.py
@@ -0,0 +1,2990 @@ @@ -0,0 +1,2990 @@
@ -516648,8 +516649,8 @@ index 0000000..b772c7b
+ self.show_system_page() + self.show_system_page()
+ else: + else:
+ if self.application: + if self.application:
+ self.completion_entry.set_text(self.application)
+ self.applications_selection_button.set_label(self.application) + self.applications_selection_button.set_label(self.application)
+ self.completion_entry.set_text(self.application)
+ self.show_applications_page() + self.show_applications_page()
+ else: + else:
+ self.clearbuttons() + self.clearbuttons()
@ -517036,7 +517037,6 @@ index 0000000..b772c7b
+ if not self.find_application(app): + if not self.find_application(app):
+ return + return
+ self.show_applications_page() + self.show_applications_page()
+
+ self.add_button.set_sensitive(True) + self.add_button.set_sensitive(True)
+ self.delete_button.set_sensitive(True) + self.delete_button.set_sensitive(True)
+ # Clear the tree to prepare for a new selection otherwise + # Clear the tree to prepare for a new selection otherwise
@ -518389,7 +518389,7 @@ index 0000000..b772c7b
+ if self.network_radio_button.get_active(): + if self.network_radio_button.get_active():
+ self.active_button = self.network_radio_button + self.active_button = self.network_radio_button
+ +
+ def clearbuttons(self): + def clearbuttons(self, clear=True):
+ self.main_selection_window.hide() + self.main_selection_window.hide()
+ self.booleans_radio_button.set_visible(False) + self.booleans_radio_button.set_visible(False)
+ self.files_radio_button.set_visible(False) + self.files_radio_button.set_visible(False)
@ -518399,7 +518399,8 @@ index 0000000..b772c7b
+ self.lockdown_radio_button.set_visible(False) + self.lockdown_radio_button.set_visible(False)
+ self.user_radio_button.set_visible(False) + self.user_radio_button.set_visible(False)
+ self.login_radio_button.set_visible(False) + self.login_radio_button.set_visible(False)
+ self.completion_entry.set_text("") + if clear:
+ self.completion_entry.set_text("")
+ +
+ def show_system_page(self): + def show_system_page(self):
+ self.clearbuttons() + self.clearbuttons()
@ -518431,7 +518432,7 @@ index 0000000..b772c7b
+ self.delete_button.set_sensitive(True) + self.delete_button.set_sensitive(True)
+ +
+ def show_applications_page(self): + def show_applications_page(self):
+ self.clearbuttons() + self.clearbuttons(False)
+ self.booleans_radio_button.set_visible(True) + self.booleans_radio_button.set_visible(True)
+ self.files_radio_button.set_visible(True) + self.files_radio_button.set_visible(True)
+ self.network_radio_button.set_visible(True) + self.network_radio_button.set_visible(True)
@ -520040,10 +520041,10 @@ index 0000000..7ad2af7
+ print e + print e
diff --git a/policycoreutils/sepolicy/sepolicy/sepolicy.glade b/policycoreutils/sepolicy/sepolicy/sepolicy.glade diff --git a/policycoreutils/sepolicy/sepolicy/sepolicy.glade b/policycoreutils/sepolicy/sepolicy/sepolicy.glade
new file mode 100644 new file mode 100644
index 0000000..440c30e index 0000000..9e4e798
--- /dev/null --- /dev/null
+++ b/policycoreutils/sepolicy/sepolicy/sepolicy.glade +++ b/policycoreutils/sepolicy/sepolicy/sepolicy.glade
@@ -0,0 +1,4935 @@ @@ -0,0 +1,4936 @@
+<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.15.3 on Tue Sep 17 16:30:19 2013 --> +<!-- Generated with glade 3.15.3 on Tue Sep 17 16:30:19 2013 -->
+<interface> +<interface>
@ -521899,6 +521900,7 @@ index 0000000..440c30e
+ <property name="can_focus">False</property> + <property name="can_focus">False</property>
+ <property name="receives_default">False</property> + <property name="receives_default">False</property>
+ <property name="xalign">0</property> + <property name="xalign">0</property>
+ <property name="group">Booleans_button</property>
+ <property name="draw_indicator">False</property> + <property name="draw_indicator">False</property>
+ </object> + </object>
+ <packing> + <packing>