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

NAME

6       audit_open - Open a audit netlink socket connection
7

SYNOPSIS

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

DESCRIPTION

15       audit_open  creates  a  NETLINK_AUDIT socket for communication with the
16       kernel part of the Linux Audit Subsystem. The audit system uses the ACK
17       feature  of  netlink.  This means that every message to the kernel will
18       return a netlink status packet even if the operation succeeds.
19
20

RETURN VALUE

22       Returns -1 if an  error  occurs;  otherwise,  the  return  value  is  a
23       descriptor referencing the socket.
24
25

SEE ALSO

27       netlink(7).
28
29

AUTHOR

31       Steve Grubb
32
33
34
35Red Hat                            Oct 2006                      AUDIT_OPEN(3)
Impressum