SELinux: mls_types.h whitespace, syntax, and other cleanups
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>
This commit is contained in:
@@ -31,7 +31,7 @@ static inline int mls_level_eq(struct mls_level *l1, struct mls_level *l2)
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return ((l1->sens == l2->sens) &&
|
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)
|
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 1;
|
||||||
|
|
||||||
return ((l1->sens >= l2->sens) &&
|
return ((l1->sens >= l2->sens) &&
|
||||||
ebitmap_contains(&l1->cat, &l2->cat));
|
ebitmap_contains(&l1->cat, &l2->cat));
|
||||||
}
|
}
|
||||||
|
|
||||||
#define mls_level_incomp(l1, l2) \
|
#define mls_level_incomp(l1, l2) \
|
||||||
|
Reference in New Issue
Block a user