Scroll to navigation

AUDIT_GET_REPLY(3) Linux Audit API AUDIT_GET_REPLY(3)

НАИМЕНОВАНИЕ

audit_get_reply - получение ответа системы аудита

ОБЗОР

#include <libaudit.h>

int audit_get_reply(int fd, struct audit_reply *rep, reply_t block, int peek);

ОПИСАНИЕ

This function gets the next data packet sent on the audit netlink socket. This function is usually called after sending a command to the audit system. fd should be an open file descriptor returned by audit_open. rep should be a data structure to put the reply in. block is of type reply_t which is either: GET_REPLY_BLOCKING and GET_REPLY_NONBLOCKING. peek, if non-zero, gets the data without dequeueing it from the netlink socket.

ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ

Эта функция возвращает -1 при ошибке, 0 если получен ошибочный ответ, и положительное значение в случае успеха.

СМОТРИТЕ ТАКЖЕ

audit_open(3).

АВТОРЫ

Steve Grubb

ПЕРЕВОД

Русский перевод этой страницы руководства разработал(и) Nataliya Smirnova <oohhh@list.ru>

Этот перевод является свободной программной документацией; он распространяется на условиях общедоступной лицензии GNU (GNU General Public License - GPL, https://www.gnu.org/licenses/gpl-3.0.html версии 3 или более поздней) в отношении авторского права, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ.

Если вы обнаружите какие-либо ошибки в переводе этой страницы руководства, пожалуйста, сообщите об этом разработчику(ам) по его(их) адресу(ам) электронной почты или по адресу списка рассылки русских переводчиков.

Октябрь 2006 Red Hat