mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-19 04:34:30 +00:00
Merge branch 'fedora' into master-merge
This commit is contained in:
commit
99b070d5fc
@ -667,8 +667,9 @@ def setupDontauditParser(subparsers):
|
||||
def handleExport(args):
|
||||
manageditems=[ "boolean", "login", "interface", "user", "port", "node", "fcontext", "module"]
|
||||
for i in manageditems:
|
||||
OBJECT = object_dict[i]()
|
||||
print "%s -D" % i
|
||||
for i in manageditems:
|
||||
OBJECT = object_dict[i]()
|
||||
for c in OBJECT.customized():
|
||||
print "%s %s" % (i, str(c))
|
||||
|
||||
|
@ -958,7 +958,7 @@ class seluserRecords(semanageRecords):
|
||||
keys = ddict.keys()
|
||||
keys.sort()
|
||||
for k in keys:
|
||||
l.append("-a -l %s -r %s -R '%s' %s" % (ddict[k][1], ddict[k][2], ddict[k][3], k))
|
||||
l.append("-a -L %s -r %s -R '%s' %s" % (ddict[k][1], ddict[k][2], ddict[k][3], k))
|
||||
return l
|
||||
|
||||
def list(self, heading = 1, locallist = 0):
|
||||
|
Loading…
Reference in New Issue
Block a user