/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-ctl

  • Committer: Teddy Hogeborn
  • Date: 2017-08-20 14:14:14 UTC
  • Revision ID: teddy@recompile.se-20170820141414-m034xuebg7ccaeui
Add some more restrictions to the systemd service file.

* mandos.service ([Service]/ProtectKernelTunables): New; set to "yes".
  ([Service]/ProtectControlGroups): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
import re
39
39
import os
40
40
import collections
41
 
import doctest
42
41
import json
43
42
 
44
43
import dbus
75
74
server_path = "/"
76
75
server_interface = domain + ".Mandos"
77
76
client_interface = domain + ".Mandos.Client"
78
 
version = "1.7.14"
 
77
version = "1.7.15"
79
78
 
80
79
 
81
80
try:
345
344
        parser.error("--all requires an action.")
346
345
 
347
346
    if options.check:
 
347
        import doctest
348
348
        fail_count, test_count = doctest.testmod()
349
349
        sys.exit(os.EX_OK if fail_count == 0 else 1)
350
350