Research
.
Skip Search Box

SELinux Mailing List

Re: Signal problem

From: Chris Wright <chrisw_at_osdl.org>
Date: Tue, 26 Apr 2005 13:28:00 -0700

  • Steve G (linux_4ever@yahoo.com) wrote:
    > >Isn't this unreliable anyway, e.g. your hook might queue up the audit
    > >message for processing by auditd, but auditd gets the signal before it
    > >handles the message and exits without emptying the queue?
    >
    > The message would be in syslog in that scenario. It isn't there either.

Upon termination, what's queued to the netlink socket but not yet received is going to be lost, right? Perhaps you need to be able to set pid == 0, and still drain the fd when you recieve a TERM?

thanks,
-chris

-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Tue 26 Apr 2005 - 16:28:09 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service