SELinux: mls_types.h whitespace, syntax, and other cleanups
authorEric Paris <eparis@redhat.com>
Tue, 22 Apr 2008 21:46:16 +0000 (17:46 -0400)
committerJames Morris <jmorris@namei.org>
Sun, 27 Apr 2008 23:29:06 +0000 (09:29 +1000)
This patch changes mls_types.h to fix whitespace and syntax issues.  Things that
are fixed may include (does not not have to include)

spaces used instead of tabs

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/mls_types.h

index 0c692d5..b6e943a 100644 (file)
@@ -31,7 +31,7 @@ static inline int mls_level_eq(struct mls_level *l1, struct mls_level *l2)
                return 1;
 
        return ((l1->sens == l2->sens) &&
-               ebitmap_cmp(&l1->cat, &l2->cat));
+               ebitmap_cmp(&l1->cat, &l2->cat));
 }
 
 static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2)
@@ -40,7 +40,7 @@ static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2)
                return 1;
 
        return ((l1->sens >= l2->sens) &&
-               ebitmap_contains(&l1->cat, &l2->cat));
+               ebitmap_contains(&l1->cat, &l2->cat));
 }
 
 #define mls_level_incomp(l1, l2) \