1AUDIT_NAME_TO_SYSCALL(3)        Linux Audit API       AUDIT_NAME_TO_SYSCALL(3)
2
3
4

NAME

6       audit_name_to_syscall - Convert the syscall name to the numeric syscall
7       value
8

SYNOPSIS

10       #include <libaudit.h>
11
12       int audit_name_to_syscall(const char *sc, int machine);
13

DESCRIPTION

15       audit_name_to_syscall()  converts  the  syscall  name  to  the  numeric
16       syscall  value.   sc is the syscall name.  machine is the enum value of
17       the machine type defined in machine_t.   machine  can  be  obtained  by
18       calling audit_detect_machine(3).
19
20

RETURN VALUE

22       Returns  -1  if an error occurs; otherwise, the return value is the nu‐
23       meric syscall value.
24
25

SEE ALSO

27       audit_syscall_to_name(3), audit_detect_machine(3).
28
29

AUTHOR

31       Steve Grubb
32
33
34
35Red Hat                            Nov 2021           AUDIT_NAME_TO_SYSCALL(3)
Impressum