summaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/ebitmap.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-09-03 15:55:17 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:05:51 -0700
commitb5bf6c55edf94e9c7fc01724d5b271f78eaf1d3f (patch)
tree0f2be4478fa5886f467fce8b4a8d56b5e8dbed46 /security/selinux/ss/ebitmap.c
parent782ebb992ec20b5afdd5786ee8c2f1b58b631f24 (diff)
downloadblackbird-op-linux-b5bf6c55edf94e9c7fc01724d5b271f78eaf1d3f.tar.gz
blackbird-op-linux-b5bf6c55edf94e9c7fc01724d5b271f78eaf1d3f.zip
[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>
Diffstat (limited to 'security/selinux/ss/ebitmap.c')
-rw-r--r--security/selinux/ss/ebitmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/selinux/ss/ebitmap.c b/security/selinux/ss/ebitmap.c
index d8ce9cc0b9f1..d515154128cc 100644
--- a/security/selinux/ss/ebitmap.c
+++ b/security/selinux/ss/ebitmap.c
@@ -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);
OpenPOWER on IntegriCloud