public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* audit_pid with multiple userspace auditd processes
@ 2009-01-07 21:36 Eric Paris
  2009-01-07 22:04 ` Linda Knippers
  2009-01-07 22:41 ` Steve Grubb
  0 siblings, 2 replies; 10+ messages in thread
From: Eric Paris @ 2009-01-07 21:36 UTC (permalink / raw)
  To: linux-audit

So I noticed today something strange, but maybe not wrong?

lets say userspace starts 2 copies of auditd.  Then they kill the first
copy.  The kernel at that point thinks there is no userspace auditd
running and will instead send things to dmesg

We could fix it by changing the handling in audit_receive_msg to reject
setting the audit_pid to 0 if the current audit_nlk_pid !=
NETLINK_CB(skb).pid.

It's not a big deal, maybe we just call results of audit with multiple
userspace auditd's running at the same time a undefined and not care.

Anyone think that's worth a patch?

-Eric

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-01-07 23:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 21:36 audit_pid with multiple userspace auditd processes Eric Paris
2009-01-07 22:04 ` Linda Knippers
2009-01-07 22:10   ` Eric Paris
2009-01-07 22:12     ` Linda Knippers
2009-01-07 22:41 ` Steve Grubb
2009-01-07 22:54   ` Eric Paris
2009-01-07 23:07     ` Steve Grubb
2009-01-07 23:11       ` Linda Knippers
2009-01-07 23:24         ` Steve Grubb
2009-01-07 23:33           ` Linda Knippers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox