[PATCH] selinux: endian notations

This patch adds endian notations to the SELinux code.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Alexey Dobriyan
2005-09-03 15:55:17 -07:00
committed by Linus Torvalds
parent 782ebb992e
commit b5bf6c55ed
5 changed files with 52 additions and 37 deletions

View File

@@ -196,8 +196,9 @@ int ebitmap_read(struct ebitmap *e, void *fp)
{
int rc;
struct ebitmap_node *n, *l;
u32 buf[3], mapsize, count, i;
u64 map;
__le32 buf[3];
u32 mapsize, count, i;
__le64 map;
ebitmap_init(e);