Skip to contentSkip to conversation

Audit recv on RHEL 4 x86_64

DISCUSSION Matthew Booth 2 participants 2 messages Apr 24, 2007

lore
Share & tools
lore
#0 lore raw

How do I audit the recv system call on RHEL 4 x86_64? More generally, how do I get a list of all system calls which can be audited on a particular system?

Thanks,

Matt

Signature · 6 lines
Matthew Booth, RHCA, RHCSS
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
#1 lore raw
Quoted 1 line · On Tuesday 24 April 2007 12:28:29 Matthew Booth wrote:

How do I audit the recv system call on RHEL 4 x86_64?

recv does not appear to be a x86_64 syscall. It uses recvfrom under the hood.

Quoted 2 lines

More generally, how do I get a list of all system calls which can be audited on a particular system?

Generally, all of them can be audited. I scan the headers for each kernel release and update the tables. For the time being, if you can see it in strace, you can use it. The only problems is that each arch is slightly different and then there is the multiplexed syscalls like socketcall & ipccall.

-Steve