- Add sandbox to sepolgen

This commit is contained in:
Dan Walsh 2011-01-14 16:39:55 -05:00
parent 01e471247b
commit b49eb13451

View File

@ -6473,7 +6473,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/polgengui.py policyc
+ app.stand_alone()
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/polgen.py policycoreutils-2.0.85/gui/polgen.py
--- nsapolicycoreutils/gui/polgen.py 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-2.0.85/gui/polgen.py 2011-01-14 14:05:54.000000000 -0500
+++ policycoreutils-2.0.85/gui/polgen.py 2011-01-14 16:36:46.000000000 -0500
@@ -0,0 +1,1346 @@
+#!/usr/bin/python -Es
+#
@ -6781,13 +6781,13 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/polgen.py policycore
+( self.generate_inetd_types, self.generate_inetd_rules), \
+( self.generate_userapp_types, self.generate_userapp_rules), \
+( self.generate_cgi_types, self.generate_cgi_rules), \
+( self.generate_sandbox_types, self.generate_sandbox_rules), \
+( self.generate_x_login_user_types, self.generate_x_login_user_rules), \
+( self.generate_min_login_user_types, self.generate_login_user_rules), \
+( self.generate_login_user_types, self.generate_login_user_rules), \
+( self.generate_admin_user_types, self.generate_login_user_rules), \
+( self.generate_existing_user_types, self.generate_existing_user_rules), \
+( self.generate_root_user_types, self.generate_root_user_rules))
+( self.generate_root_user_types, self.generate_root_user_rules), \
+( self.generate_sandbox_types, self.generate_sandbox_rules))
+ if name == "":
+ raise ValueError(_("You must enter a name for your confined process/user"))
+ if type == CGI: