audit-userspace icon indicating copy to clipboard operation
audit-userspace copied to clipboard

libaudit: use UINT_MAX macro in place of magic numbers

Open rgbriggs opened this issue 5 years ago • 1 comments

Signed-off-by: Richard Guy Briggs [email protected]

rgbriggs avatar Dec 18 '20 21:12 rgbriggs

Not exactly a fan of this. The issue is that the kernel should define this. Userspace should use it. And this patch misses all the places where we have a uint32_t that is -1.

stevegrubb avatar Dec 28 '20 03:12 stevegrubb

Closing this out. Richard, thanks for the patch. If the kernel defines a macro and uses it internally, we can use it in user space.

stevegrubb avatar Jul 25 '23 19:07 stevegrubb