projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c3c05d
)
SELinux: Use %lu for inode->i_no when printing avc
author
Tobias Oed
<tobias.oed@octant-fr.com>
Mon, 11 Jun 2007 12:56:31 +0000
(08:56 -0400)
committer
James Morris
<jmorris@namei.org>
Thu, 12 Jul 2007 02:52:27 +0000
(22:52 -0400)
Inode numbers are unsigned long and so need to %lu as format string of printf.
Signed-off-by: Tobias Oed <tobias.oed@octant-fr.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/avc.c
patch
|
blob
|
blame
|
history
diff --git
a/security/selinux/avc.c
b/security/selinux/avc.c
index cc5fcef9e2269e611bcce04b9478f7be8f8cc039..78c408fd2b02cdf66e2e9331304da6b1bf352116 100644
(file)
--- a/
security/selinux/avc.c
+++ b/
security/selinux/avc.c
@@
-586,7
+586,7
@@
void avc_audit(u32 ssid, u32 tsid,
}
}
if (inode)
- audit_log_format(ab, " dev=%s ino=%l
d
",
+ audit_log_format(ab, " dev=%s ino=%l
u
",
inode->i_sb->s_id,
inode->i_ino);
break;