From: Joe Perches Date: Tue, 14 Jan 2014 18:33:13 +0000 (-0800) Subject: audit: Convert int limit uses to u32 X-Git-Tag: v3.14-rc1~118^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e1d0bb6224f019893d1c498cc3327559d183674;p=pandora-kernel.git audit: Convert int limit uses to u32 The equivalent uapi struct uses __u32 so make the kernel uses u32 too. This can prevent some oddities where the limit is logged/emitted as a negative value. Convert kstrtol to kstrtouint to disallow negative values. Signed-off-by: Joe Perches [eparis: do not remove static from audit_default declaration] --- Reading git-diff-tree failed