[apparmor] [patch] parser: make flags defintion consistent

Steve Beattie steve at nxnw.org
Wed Sep 3 19:30:18 UTC 2014


In profile.h, flagvals is declared to be class, but then in the Profile
class, the flags field declares it as a struct. This patch makes the
field declaration type consistent.

Signed-off-by: Steve Beattie <steve at nxnw.org>
---
 parser/profile.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/parser/profile.h
===================================================================
--- a/parser/profile.h
+++ b/parser/profile.h
@@ -128,7 +128,7 @@ public:
 
 	Profile *parent;
 
-	struct flagvals flags;
+	class flagvals flags;
 	struct capabilities caps;
 	struct network net;
 

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140903/52a3bbd1/attachment.pgp>


More information about the AppArmor mailing list