Skip to contentSkip to conversation

This simple patch fixes the output of sepolgen to match what Chris expects for upstream policy.

PATCH Daniel J Walsh 3 participants 3 messages Mar 12, 2010 – Mar 18, 2010 SELinux security module

lore
Share & tools
lore
#0 lore raw
sepolgen/src/sepolgen/access.py +1 -1
index 71121d7..3eda2fd 100644
@@ -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):
#2 lore raw
In reply to Daniel J Walsh

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.