summaryrefslogtreecommitdiff
path: root/include/asm-generic/audit_change_attr.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-01-14 22:33:13 +0400
committerEric Paris <eparis@redhat.com>2014-01-14 23:54:00 +0400
commit3e1d0bb6224f019893d1c498cc3327559d183674 (patch)
treecf64e0a4eefbe17851a56b21c16783e023860577 /include/asm-generic/audit_change_attr.h
parentd957f7b726ccce4967ae0d668b5b10f0f1d10401 (diff)
downloadlinux-3e1d0bb6224f019893d1c498cc3327559d183674.tar.xz
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 <joe@perches.com> [eparis: do not remove static from audit_default declaration]
Diffstat (limited to 'include/asm-generic/audit_change_attr.h')
0 files changed, 0 insertions, 0 deletions