public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* multipart messages & delivery guarantees
@ 2015-02-23  3:15 Hassan Sultan
  2015-02-23 18:48 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Hassan Sultan @ 2015-02-23  3:15 UTC (permalink / raw)
  To: linux-audit

Hi,

Some events, such as execve or socket-related syscalls generate more than  
one message, which I'll separate as the "main" message, and then the 'sub'  
messages.

Does the audit system guarantee in any way that user-mode will receive  
either no message, or all messages for a given event ?

I'm curious to know if for example I could get an execve syscall message,  
but no cwd message, for example in case of low-memory condition.

Thanks,

Hassan

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

* Re: multipart messages & delivery guarantees
  2015-02-23  3:15 multipart messages & delivery guarantees Hassan Sultan
@ 2015-02-23 18:48 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2015-02-23 18:48 UTC (permalink / raw)
  To: Hassan Sultan; +Cc: linux-audit

On Sun, 22 Feb 2015 19:15:07 -0800
"Hassan Sultan" <hsultan@thefroid.net> wrote:
> Some events, such as execve or socket-related syscalls generate more
> than one message, which I'll separate as the "main" message, and then
> the 'sub' messages.
> 
> Does the audit system guarantee in any way that user-mode will
> receive either no message, or all messages for a given event ?

If a syscall cannot be audited, the syscall has to fail.

 
> I'm curious to know if for example I could get an execve syscall
> message, but no cwd message, for example in case of low-memory
> condition.

I suppose it depends on where in the processing an error occurs. Some
failure modes if selected cause a system panic. You'll probably want to
look through the kernel source code to be sure.

-Steve

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

end of thread, other threads:[~2015-02-23 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23  3:15 multipart messages & delivery guarantees Hassan Sultan
2015-02-23 18:48 ` Steve Grubb

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