Skip to contentSkip to conversation

Resolving syscall numbers

DISCUSSION Steve 2 participants 3 messages Jun 12, 2006

lore
Share & tools
lore

Steve

author
#0 lore raw

This may not be appropriate for this list, if it isn't I apologize and you may ignore it.

Is there an quick way to resolve the syscall number that auditd returns within a message to a syscall name? (ie. 5->open)?

I am programming in C, if that helps.

Thanks,
Steve

#1 lore raw
Quoted 7 lines · Steve

This may not be appropriate for this list, if it isn't I apologize and you may ignore it.

Is there an quick way to resolve the syscall number that auditd returns within a message to a syscall name? (ie. 5->open)?

I am programming in C, if that helps.

Use audit_syscall_to_name(num, audit_detect_machine())

Signature · 2 lines
James Antill <[email protected]>
Red Hat
author
#2 lore raw
Quoted 1 line

Use audit_syscall_to_name(num, audit_detect_machine())

Thanks!