public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Events per System Call
@ 2010-08-16 21:38 Basim Baig
  2010-08-17  0:46 ` Steve Grubb
  0 siblings, 1 reply; 6+ messages in thread
From: Basim Baig @ 2010-08-16 21:38 UTC (permalink / raw)
  To: Linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 1411 bytes --]

Hello,

I am currently doing a project based on the linux audit framework and i am
using it to audit selected system calls. I have written my own parser for
it. What i need to know is how many events are generated per system call so
i know when it has finished. I have run a few test cases regarding this but
i am not sure if i have covered every possible situation. Are the number of
events generated per system call always the same or can they change from
place to place. I'll illustrate what i am saying.

For example when an OPEN system call happens three events are generated by
the audit frame work i.e. SYSCALL,CWD,PATH events. These three together
define the open system call. I am trying to get the same profile for the
following calls:
(i am adding the profiles i have already tested for)


open = sys.cwd.path
execv = sys.execve.cwd.path.path
clone
vfork  = clone+execve
fork  = clone+execve
connect
accept

close


read = sys
readv
write  = sys
writev



rename  = sys.cwd.path.path.path.path.path

mknod = sws.cwd.path
truncate = open+read+write
ftruncate = open+read+write

link

unlink

symlink

pipe = sys.fd_pair
dup
dup2

It would be really helpful to know if the number of events generated per
system call change or do they stay the same. And is there any documentation
on what events are generated or do i have to run small test cases for all
the aforementioned system calls.

Thanks,
Basim

[-- Attachment #1.2: Type: text/html, Size: 1571 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2010-08-17  2:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-16 21:38 Events per System Call Basim Baig
2010-08-17  0:46 ` Steve Grubb
2010-08-17  0:49   ` Basim Baig
2010-08-17  1:13     ` Steve Grubb
2010-08-17  1:18       ` Steve Grubb
2010-08-17  2:56         ` Basim Baig

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