This simple patch fixes the output of sepolgen to match what Chris expects for upstream policy.
sepolgen/src/sepolgen/access.py +1 -1
@@ -127,7 +127,7 @@ class AccessVector: return self.to_string() def to_string(self): - return "allow %s %s : %s %s;" % (self.src_type, self.tgt_type, + return "allow %s %s:%s %s;" % (self.src_type, self.tgt_type, self.obj_class, self.perms.to_space_str()) def __cmp__(self, other):
Karl MacMillan
Acked-byQuoted 2 lines · Daniel J Walsh
Acked-by Karl MacMillan <[email protected]>
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Merged in sepolgen 1.0.21
Quoted 1 line · Daniel J Walsh
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.