public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* order of entries output from ausearch -i
@ 2013-11-13  8:14 AKASHI Takahiro
  2013-11-13 20:35 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: AKASHI Takahiro @ 2013-11-13  8:14 UTC (permalink / raw)
  To: linux-audit@redhat.com

Hi Steve

I followed your advise and verified my patch of AArch64 audit support
by comparing the output from
     # autrace /bin/ls
     # ausearch -i -p XXX | grep SYSCALL
with the output from
     # strace /bin/ls

Here I found that the entries shown by "ausearch -i" are listed
partially in the order of lifo (Last In First Out?).
I don't think this behavior is "intuitive".
(As you know, ausearch without -i generates fifo order of outputs.)
Is there any good reason?

Thanks,
-Takahiro AKASHI

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

* Re: order of entries output from ausearch -i
  2013-11-13  8:14 order of entries output from ausearch -i AKASHI Takahiro
@ 2013-11-13 20:35 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2013-11-13 20:35 UTC (permalink / raw)
  To: linux-audit

On Wednesday, November 13, 2013 05:14:13 PM AKASHI Takahiro wrote:
> Hi Steve
> 
> I followed your advise and verified my patch of AArch64 audit support
> by comparing the output from
>      # autrace /bin/ls
>      # ausearch -i -p XXX | grep SYSCALL
> with the output from
>      # strace /bin/ls
> 
> Here I found that the entries shown by "ausearch -i" are listed
> partially in the order of lifo (Last In First Out?).
> I don't think this behavior is "intuitive".
> (As you know, ausearch without -i generates fifo order of outputs.)
> Is there any good reason?

Yes, the syscall record is often the most important. Its better to scroll the 
auxiliary records off the screen leaving just the syscall record. For example, 
if you triggered a syscall event against   kill(-1, SIGTERM)  you could have a 
100 or more OBJ_PID records with that syscall.

-Steve

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

end of thread, other threads:[~2013-11-13 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13  8:14 order of entries output from ausearch -i AKASHI Takahiro
2013-11-13 20:35 ` Steve Grubb

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