auparse_interpret_field()

Steve Grubb sgrubb at redhat.com
Fri Nov 9 20:17:58 UTC 2007


On Friday 09 November 2007 14:56:05 klausk at br.ibm.com wrote:
> See that 'r->machine' and 'r->syscall' are only filled when the 'arch'
> field in found in the 2nd position, and syscall in the 3rd position
> respectively. That is not true when the dispatcher is appending a 'node='
> field to each record.

Yeah I put a FIXME in the code for that a little while ago. It needs to be 
flexible.

> I would provide a patch myself, but I'm not sure why you need to check the
> field position in this function (I mean, if the field is arch=, wouldn't
> it be interpreted no matter what position it is?)

Speed. I wanted a way to only check these things once and not slow it down for 
each field. This is where the record is getting split up, so we can do 
anything but simple checks.

-Steve




More information about the Linux-audit mailing list