Skip to contentSkip to conversation

minor rule questions

DISCUSSION LC Bruzenak 2 participants 2 messages May 8, 2008

lore
Share & tools
lore
#0 lore raw

MINOR: It appears that there needs to be a space between the "key=xxx" and "list=N" results from "ausearch -i -ts today":
...
type=CONFIG_CHANGE msg=audit(05/08/2008 10:34:57.259:151) : auid=unset subj=system_u:system_r:auditctl_t:s0-s15:c0.c1023 op=add rule key=CFG key=postfixlist=4 res=1
...

I'm sure this one is on startup when the audit.rules file is parsed and the auditctls all happen. And what does the "list=N" part represent? Would it be the following (i.e. exit):
#define AUDIT_FILTER_EXIT 0x04 /* Apply rule at syscall exit */

Thx,
LCB.

Signature · 2 lines
LC (Lenny) Bruzenak
[email protected]
#1 lore raw
Quoted 2 lines · On Thursday 08 May 2008 13:14:12 LC Bruzenak wrote:

MINOR: It appears that there needs to be a space between the "key=xxx" and "list=N" results from "ausearch -i -ts today":

Thanks, added to the TODO file.

Quoted 2 lines

I'm sure this one is on startup when the audit.rules file is parsed and the auditctls all happen.

Looks like its from the interpret option of ausearch.

Quoted 1 line

And what does the "list=N" part represent?

The kernel filter list that the rule was added to.

Quoted 2 lines

Would it be the following (i.e. exit):
#define AUDIT_FILTER_EXIT       0x04    /* Apply rule at syscall exit */

Yes.

-Steve