summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorRichard Guy Briggs2013-05-20 21:08:18 +0200
committerEric Paris2013-11-05 17:07:27 +0100
commit42f74461a5b60cf6b42887e6d2ff5b7be4abf1ca (patch)
tree33e5ebad46ef3cbb64d4d3ea9fab16d206f72c54 /kernel/audit.c
parentaudit: printk USER_AVC messages when audit isn't enabled (diff)
downloadkernel-qcow2-linux-42f74461a5b60cf6b42887e6d2ff5b7be4abf1ca.tar.gz
kernel-qcow2-linux-42f74461a5b60cf6b42887e6d2ff5b7be4abf1ca.tar.xz
kernel-qcow2-linux-42f74461a5b60cf6b42887e6d2ff5b7be4abf1ca.zip
audit: change decimal constant to macro for invalid uid
SFR reported this 2013-05-15: > After merging the final tree, today's linux-next build (i386 defconfig) > produced this warning: > > kernel/auditfilter.c: In function 'audit_data_to_entry': > kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only > in ISO C90 [enabled by default] > > Introduced by commit 780a7654cee8 ("audit: Make testing for a valid > loginuid explicit") from Linus' tree. Replace this decimal constant in the code with a macro to make it more readable (add to the unsigned cast to quiet the warning). Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions