/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.0
docs/audit_open.3
34 строки
814 B
sgrubb
Documentation cleanups
09 фев 2013, 21:33
09 фев 2013, 21:33
a81b5cb
Код
Авторство
О чём код?
.TH "AUDIT_OPEN" "3" "Oct 2006" "Red Hat" "Linux Audit API" .SH NAME audit_open \- Open a audit netlink socket connection .SH "SYNOPSIS" .B #include <libaudit.h> .sp int audit_open (void); .SH "DESCRIPTION" audit_open creates a NETLINK_AUDIT socket for communication with the kernel part of the Linux Audit Subsystem. The audit system uses the ACK feature of netlink. This means that every message to the kernel will return a netlink status packet even if the operation succeeds. .SH "RETURN VALUE" Returns \-1 if an error occurs; otherwise, the return value is a descriptor referencing the socket. .SH ERRORS The .BR audit_open () function may fail and set .I errno for any of the errors specified for the .BR socket (2) and .BR fcntl (2) routines. .SH "SEE ALSO" .BR netlink (7). .SH AUTHOR Steve Grubb