From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Paris Subject: Re: Is zero a valid value for the pid member of the AUDIT_SIGNAL_INFO message? Date: Tue, 11 Mar 2014 21:06:44 -0400 Message-ID: <1394586404.10287.4.camel@localhost> References: <20140311221517.GA15334@madcap2.tricolour.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140311221517.GA15334@madcap2.tricolour.ca> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Richard Guy Briggs Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Tue, 2014-03-11 at 18:15 -0400, Richard Guy Briggs wrote: > Steve, > > Subject says it all... > > Is zero a valid value for the pid member of the AUDIT_SIGNAL_INFO message? No... Given that userspace requests AUDIT_SIGNAL_INFO after it gets a signal, and that audit_sig_{uid,pid,...} get filled in when some task sent auditd that signal, the idea that the pid would be 0 doesn't make sense... (unless auditd requests AUDIT_SIGNAL_INFO without getting a signal, but that's just dumb)