aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/avc.c
diff options
context:
space:
mode:
authorAl Viro <viro@hera.kernel.org>2006-12-04 17:00:55 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-04 22:32:44 -0500
commit87fcd70d983d30eca4b933fff2e97d9a31743d0a (patch)
tree2c79943f7691f80123af0145a8909f14011b0761 /security/selinux/avc.c
parent91f433cacc9d1ae95ae46ce26d7bcf3a724c72d0 (diff)
[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,
496 audit_log_format(ab, " %s=%d", name2, ntohs(port)); 496 audit_log_format(ab, " %s=%d", name2, ntohs(port));
497} 497}
498 498
499static inline void avc_print_ipv4_addr(struct audit_buffer *ab, u32 addr, 499static inline void avc_print_ipv4_addr(struct audit_buffer *ab, __be32 addr,
500 __be16 port, char *name1, char *name2) 500 __be16 port, char *name1, char *name2)
501{ 501{
502 if (addr) 502 if (addr)