* auditctl -A entry,always -S chmod
@ 2006-06-02 15:35 Michael C Thompson
2006-06-02 16:48 ` Amy Griffis
0 siblings, 1 reply; 2+ messages in thread
From: Michael C Thompson @ 2006-06-02 15:35 UTC (permalink / raw)
To: Steve Grubb, Amy Griffis, Linux Audit
Hey Amy & Steve,
I'm not sure if you two are seeing this, but if you insert a rule to the
front of the rule list with the -A option, the list it was added to is
somewhere lost. Can you confirm that you're seeing this as well? I'm
running with audit-1.2.3 and kernel lspp.34
# auditctl -A entry,always -S chmod
# auditctl -l
LIST_RULES: (null),always syscall=chmod
I took a quick look in the user space section of auditctl, but it
doesn't seem to be a user space issue. My guess is the
AUDIT_FILTER_PREPEND flag is not being treated properly in the kernel
since I believe it does make it's way down intact (it at least gets to
audit_send intact).
Thanks,
Mike
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: auditctl -A entry,always -S chmod
2006-06-02 15:35 auditctl -A entry,always -S chmod Michael C Thompson
@ 2006-06-02 16:48 ` Amy Griffis
0 siblings, 0 replies; 2+ messages in thread
From: Amy Griffis @ 2006-06-02 16:48 UTC (permalink / raw)
To: Michael C Thompson; +Cc: Linux Audit
Michael C Thompson wrote: [Fri Jun 02 2006, 11:35:31AM EDT]
> Hey Amy & Steve,
>
> I'm not sure if you two are seeing this, but if you insert a rule to the
> front of the rule list with the -A option, the list it was added to is
> somewhere lost. Can you confirm that you're seeing this as well? I'm
> running with audit-1.2.3 and kernel lspp.34
I see the same thing.
> # auditctl -A entry,always -S chmod
> # auditctl -l
> LIST_RULES: (null),always syscall=chmod
>
> I took a quick look in the user space section of auditctl, but it
> doesn't seem to be a user space issue. My guess is the
> AUDIT_FILTER_PREPEND flag is not being treated properly in the kernel
Yep, looks like it should be cleared after adding the rule. I'll send
a patch along in a bit.
Thanks,
Amy
> since I believe it does make it's way down intact (it at least gets to
> audit_send intact).
>
> Thanks,
> Mike
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-02 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02 15:35 auditctl -A entry,always -S chmod Michael C Thompson
2006-06-02 16:48 ` Amy Griffis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox