Re: [RESENT][TRIVIAL][PATCH] SELinux: Use %lu for inode->i_no when printing avcs

2007-06-11 Thread James Morris
On Mon, 11 Jun 2007, Tobias Oed wrote: > Resending this to a wider audience since the first attempt was mangled > and I haven't heard anything in a week. > > Inode numbers are unsigned long and so need to %lu as format string of > printf. I have no idea why the __attribute__((format,..)) of > au

[RESENT][TRIVIAL][PATCH] SELinux: Use %lu for inode->i_no when printing avcs

2007-06-11 Thread Tobias Oed
Resending this to a wider audience since the first attempt was mangled and I haven't heard anything in a week. Inode numbers are unsigned long and so need to %lu as format string of printf. I have no idea why the __attribute__((format,..)) of audit_log_format doesn't give us a warning. Compile te

[PATCH: SELinux] Use %lu for inode->i_no when printing

2007-06-04 Thread Tobias Oed
Inode numbers are unsigned long and so need to %lu as format string of printf. I have no idea why the __attribute__((format of audit_log_format doesn't give us a warning. Compile tested only. Signed-of-by: Tobias Oed <[EMAIL PROTECTED]> --- linux-2.6.21.3.orig/security/selinux/avc.c 2007-06