libaudit large stack requirement in audit_send()

Steve Grubb sgrubb at redhat.com
Mon Apr 29 18:35:54 UTC 2013


On Monday, April 29, 2013 12:48:48 PM Steve Grubb wrote:
> I'm open to ideas. I don't know if putting req.nlh.nlmsg_len into a tmp 
> variable would help the compiler realise it can reclaim the area occupied
> by  req or not. I might be able to get rid of rep2 by reusing the area of
> rep after coping out the important part of it. But this part of the code
> hasn't significantly changed in 7-8 years.

I checked in a change (792) that reduces the stack use by 9008 bytes. Not sure 
I can get much more.

-Steve





More information about the Linux-audit mailing list