2012-10-25 17:58:08 +00:00
|
|
|
diff --git a/sepolgen/src/sepolgen/audit.py b/sepolgen/src/sepolgen/audit.py
|
2013-02-08 14:44:20 +00:00
|
|
|
index d636091..9ca35a7 100644
|
2012-10-25 17:58:08 +00:00
|
|
|
--- a/sepolgen/src/sepolgen/audit.py
|
|
|
|
+++ b/sepolgen/src/sepolgen/audit.py
|
2013-02-08 14:44:20 +00:00
|
|
|
@@ -259,7 +259,7 @@ class AVCMessage(AuditMessage):
|
2013-01-21 19:37:48 +00:00
|
|
|
raise ValueError("Error during access vector computation")
|
|
|
|
|
|
|
|
if self.type == audit2why.CONSTRAINT:
|
|
|
|
- self.data = []
|
|
|
|
+ self.data = [ self.data ]
|
|
|
|
if self.scontext.user != self.tcontext.user:
|
|
|
|
self.data.append("user")
|
|
|
|
if self.scontext.role != self.tcontext.role and self.tcontext.role != "object_r":
|