the method to get nlmsg_len in audit_send() is error

Steve Grubb sgrubb at redhat.com
Mon Jul 28 16:45:41 UTC 2008


On Monday 28 July 2008 05:02:53 Yu Zhiguo wrote:
> I think micro NLMSG_ALIGN is needless for nlmsg_len, NLMSG_SPACE is
> sufficient. because NLMSG_SPACE includes the rounded netlink header size.

I guess you are right. I checked the macros just be sure since this is some of 
the oldest code in the audit project and hasn't changed in a very long time.

Applied. Thanks for the patch.

-Steve




More information about the Linux-audit mailing list