AUDIT_SET_PID



AUDIT_SET_PID

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

NAME

audit_set_pid − Set audit daemon process ID

SYNOPSIS

#include <libaudit.h>

int audit_set_pid (int fd, int pid);

DESCRIPTION

audit_set_pid tells the kernel what the pid is of the audit daemon. When the pid is set to 0, the kernel will log all events to syslog. Otherwise it will try to send events to the netlink connection that has the same pid given by this function. If for some reason the process goes away, the kernel will automatically set the value to 0 itself. Usually this function is called by the audit daemon and not an external program.

RETURN VALUE

The return value is <= 0 on error, otherwise it is the netlink sequence id number. This function can have any error that sendto would encounter.

SEE ALSO

audit_open(3), auditd(8).

AUTHOR

Steve Grubb



More Linux Commands

manpages/httxt2dbm2.1.html
httxt2dbm2(1) Generate dbm files for use with RewriteMap....
httxt2dbm is used to generate dbm files from text input, for use in RewriteMap with the dbm map type. If the output file already exists, it will not be truncate

manpages/scalblnl.3.html
scalblnl(3) - multiply floating-point number by integral pow
These functions multiply their first argument x by FLT_RADIX (probably 2) to the power of exp, that is: x * FLT_RADIX ** exp The definition of FLT_RADIX can be

manpages/Tcl_FSRegister.3.html
Tcl_FSRegister(3) - procedures to interact with any filesyst
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta

manpages/Tk_ResizeWindow.3.html
Tk_ResizeWindow(3) - change window configuration or attribut
These procedures are analogous to the X library procedures with similar names, such as XConfigureWindow. Each one of the above procedures calls the correspondin

manpages/fgetwc_unlocked.3.html
fgetwc_unlocked(3) - nonlocking stdio functions (Man Page)
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse

manpages/deliver.8.html
deliver(8) - deliver mail to an IMAP mailbox (Man Page).....
Deliver reads a message from the standard input and delivers it to one or more IMAP mailboxes. Deliver reads its configuration options out of the imapd.conf(5)

manpages/gnutls_supplemental_get_name.3.html
gnutls_supplemental_get_name(3) - API function (Man Page)...
Convert a gnutls_supplemental_data_format_type_t value to a string. RETURNS a string that contains the name of the specified supplemental data format type, or N

manpages/vline_set.3ncurses.html
vline_set(3ncurses) - create curses borders or lines using c
The border_set and wborder_set functions draw a border around the edges of the current or specified window. These functions do not change the cursor position, a

manpages/apply.n.html
apply(n) - Apply an anonymous function - Linux manual page
The command apply applies the function func to the arguments arg1 arg2 ... and returns the result. The function func is a two element list {args body} or a thre

manpages/mitem_name.3menu.html
mitem_name(3menu) - get menu item name and description field
The function item_name returns the name part of the given item. The function item_description returns the description part of the given item. RETURN VALUE These

manpages/MIME::Decoder::BinHex.3pm.html
MIME::Decoder::BinHex(3pm) - decode a "binhex" stream.......
A MIME::Decoder subclass for a nonstandard encoding whereby data are binhex-encoded. Common non-standard MIME encodings for this: x-uu x-uuencode SEE ALSO MIME:

manpages/_nc_free_and_exit.3ncurses.html
_nc_free_and_exit(3ncurses) - curses memory-leak checking...
These functions are used to simplify analysis of memory leaks in the ncurses library. They are normally not available; they must be configured into the library





We can't live, work or learn in freedom unless the software we use is free.