> I am a little surprised that the "-a always,exit" doesn't cause an
> error. I wonder if it works correctly - maybe auditctl code is smart
> enough to overcome syntactic dyslexia? :)
> 
given rules:
-a always,exit -F arch=b32 -S adjtimex -S settimeofday -k time-change
-a exit,always -F arch=b64 -S adjtimex -S settimeofday -k time-change

[EMAIL PROTECTED] ~]# auditctl -l | grep timex
LIST_RULES: exit,always arch=1073741827 (0x40000003) key=time-change
syscall=settimeofday,adjtimex
LIST_RULES: exit,always arch=3221225534 (0xc000003e) key=time-change
syscall=adjtimex,settimeofday

So it seems the auditctl code is able to get the intent right regardless
of the order.

LCB.

-- 
LC (Lenny) Bruzenak
[EMAIL PROTECTED]

--
Linux-audit mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-audit

Reply via email to