summaryrefslogtreecommitdiffstats
path: root/security/selinux/avc.c
diff options
context:
space:
mode:
authorAl Viro <viro@hera.kernel.org>2006-12-04 22:00:55 +0000
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-04 19:32:44 -0800
commit87fcd70d983d30eca4b933fff2e97d9a31743d0a (patch)
tree2c79943f7691f80123af0145a8909f14011b0761 /security/selinux/avc.c
parent91f433cacc9d1ae95ae46ce26d7bcf3a724c72d0 (diff)
downloadlinux-87fcd70d983d30eca4b933fff2e97d9a31743d0a.tar.gz
linux-87fcd70d983d30eca4b933fff2e97d9a31743d0a.tar.bz2
linux-87fcd70d983d30eca4b933fff2e97d9a31743d0a.zip
[PATCH] selinux endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/selinux/avc.c')
-rw-r--r--security/selinux/avc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c
index 74c0319c417e..e73ac1ab7cfd 100644
--- a/security/selinux/avc.c
+++ b/security/selinux/avc.c
@@ -496,7 +496,7 @@ static inline void avc_print_ipv6_addr(struct audit_buffer *ab,
audit_log_format(ab, " %s=%d", name2, ntohs(port));
}
-static inline void avc_print_ipv4_addr(struct audit_buffer *ab, u32 addr,
+static inline void avc_print_ipv4_addr(struct audit_buffer *ab, __be32 addr,
__be16 port, char *name1, char *name2)
{
if (addr)