Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Switched to using tomoyo-tools

  • Loading branch information...
commit 6d785c37a55e5decebcf73c5f87b514d84b20dbc 1 parent 2ff1854
root authored committed

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. +7 7 gui/tomoyo-gui.py
14 gui/tomoyo-gui.py
@@ -101,7 +101,7 @@ def multiline_help(help):
101 101
102 102 class TomoyoInstaller(Thread):
103 103 # tomoyo policy installer
104   - def __init__(self, finish_install, installer="/usr/lib/ccs/tomoyo_init_policy.sh", cleaner="rm -rf /etc/tomoyo"):
  104 + def __init__(self, finish_install, installer="/usr/lib/tomoyo/init_policy", cleaner="rm -rf /etc/tomoyo"):
105 105 Thread.__init__(self)
106 106 """Initializes policy installer. finish_install is a Queue item that will be filled when job has ended."""
107 107 self.finish_install = finish_install
@@ -390,7 +390,7 @@ def save_domains(self, reload=False):
390 390 parent=self.window,
391 391 flags=0,
392 392 type=gtk.MESSAGE_ERROR,
393   - message_format = _("Unable to save TOMOYO policy! Please certify that ccs-tools package is installed and operational."),
  393 + message_format = _("Unable to save TOMOYO policy! Please certify that tomoyo-tools package is installed and operational."),
394 394 buttons=gtk.BUTTONS_OK
395 395 )
396 396 dialog.show_all()
@@ -1059,8 +1059,8 @@ def expand_domain(self, treeview, path, col, model):
1059 1059
1060 1060
1061 1061 class TomoyoPolicy:
1062   - POLICY_LOAD="/usr/sbin/ccs-loadpolicy fsd"
1063   - POLICY_SAVE="/usr/sbin/ccs-savepolicy fsd"
  1062 + POLICY_LOAD="/usr/sbin/tomoyo-loadpolicy fsd"
  1063 + POLICY_SAVE="/usr/sbin/tomoyo-savepolicy fsd"
1064 1064 def __init__(self, policy="system", version="tomoyo"):
1065 1065 """Initializes the policy class.
1066 1066
@@ -1199,14 +1199,14 @@ def write_policy(self, filename, entries):
1199 1199 print >>fd, "%s\n" % item
1200 1200 for acl, val in self.policy_dict[item]:
1201 1201 print >>fd, "%s %s" % (acl, val)
1202   - # compatibility with ccs-savepolicy
  1202 + # compatibility with tomoyo-savepolicy
1203 1203 if acl == "use_policy":
1204 1204 print >>fd
1205 1205 print >>fd
1206 1206
1207 1207 class TomoyoExceptions:
1208   - POLICY_LOAD="/usr/sbin/ccs-loadpolicy fe"
1209   - POLICY_SAVE="/usr/sbin/ccs-savepolicy fe"
  1208 + POLICY_LOAD="/usr/sbin/tomoyo-loadpolicy fe"
  1209 + POLICY_SAVE="/usr/sbin/tomoyo-savepolicy fe"
1210 1210 def __init__(self, policy="system", version="tomoyo"):
1211 1211 """Initializes the exceptions class.
1212 1212

0 comments on commit 6d785c3

Please sign in to comment.
Something went wrong with that request. Please try again.