Return the level when looking at the customized changes of users.

If someone specifies an initial level other then s0, we want to catch this and
report it in customized.
This commit is contained in:
Dan Walsh 2013-10-11 08:57:33 -04:00 committed by Stephen Smalley
parent 3dafb1046d
commit a9bf18c4a5

View file

@ -958,7 +958,7 @@ class seluserRecords(semanageRecords):
keys = ddict.keys()
keys.sort()
for k in keys:
l.append("-a -r %s -R '%s' %s" % (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):