[RFC][PATCH 2/2] (#6 U2) filesystem auditing

David Woodhouse dwmw2 at infradead.org
Tue Mar 29 15:45:06 UTC 2005


On Tue, 2005-03-29 at 09:50 -0500, Steve Grubb wrote:
> I'll readjust the types to userspace types. __u32 is kernel. uint32_t
> is userspace.

We can use uint32_t in kernel too. The only reason for using __u32 in
the kernel is for when structure definitions are shared with userspace
and we want to to avoid the requirement for C99 types in legacy
applications which use POSIX APIs. We don't need to worry about that
here so we should use uint32_t throughout. 

-- 
dwmw2




More information about the Linux-audit mailing list