Skip to content
Commit 3e1d0bb6 authored by Joe Perches's avatar Joe Perches Committed by Eric Paris
Browse files

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: default avatarJoe Perches <joe@perches.com>
[eparis: do not remove static from audit_default declaration]
parent d957f7b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment