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

NAME

6       audit_detect_machine - Detects the current machine type
7

SYNOPSIS

9       #include <libaudit.h>
10
11       int audit_detect_machine (void);
12
13

DESCRIPTION

15       audit_detect_machine  queries  uname  and  converts  the kernel machine
16       string to an enum value defined  in  machine_t.  The  machine  type  is
17       needed for any use of the audit_name_to_syscall function.
18
19

RETURN VALUE

21       Returns  -1  if  an  error  occurs;  otherwise, the return value is the
22       machine's type.
23
24

SEE ALSO

26       uname(3), audit_name_to_syscall(3).
27
28

AUTHOR

30       Steve Grubb
31
32
33
34Red Hat                            Oct 2006            AUDIT_DETECT_MACHINE(3)
Impressum