AUDIT_ADD_WATCH



AUDIT_ADD_WATCH

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

NAME

audit_add_watch − create a rule layout for a watch

SYNOPSIS

#include <libaudit.h>

int audit_add_watch(struct audit_rule_data **rulep, const char *path);

DESCRIPTION

audit_add_watch will create a watch rule in the pointer to a pointer rulep. All that you need to pass it is the full path to a file and it will initialize the audit_rule_data structure for a watch.

RETURN VALUE

Returns -1 if an error occurs; otherwise, 0 for success.

SEE ALSO

audit_add_rule_data(3), audit_delete_rule_data(3).

AUTHOR

Steve Grubb



More Linux Commands

manpages/gnutls_x509_trust_list_verify_named_crt.3.html
gnutls_x509_trust_list_verify_named_crt(3) - API function...
This function will try to find a matching named certificate. If a match is found the certificate is considered valid. In addition to that this function will als

manpages/Tcl_UniCharIsAlpha.3.html
Tcl_UniCharIsAlpha(3) - routines for classification of Tcl_U
All of the routines described examine Tcl_UniChars and return a boolean value. A non-zero return value means that the character does belong to the character cla

manpages/XWriteBitmapFile.3.html
XWriteBitmapFile(3) - manipulate bitmaps - Linux man page...
The XReadBitmapFile function reads in a file containing a bitmap. The file is parsed in the encoding of the current locale. The ability to read other than the s

manpages/rmdir.1.html
rmdir(1) - remove empty directories - Linux manual page.....
Remove the DIRECTORY(ies), if they are empty. --ignore-fail-on-non-empty ignore each failure that is solely because a directory is non-empty -p, --parents remov

manpages/isupper.3.html
isupper(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

manpages/pnmtopclxl.1.html
pnmtopclxl(1) - convert a PNM image to an HP LaserJet PCL XL
This program is part of Netpbm(1) pnmtopclxl reads one or more PNM input streams, each containing one or more PNM images, and generates a sequence of output pag

manpages/getutmp.3.html
getutmp(3) - copy utmp structure to utmpx, and vice versa...
The getutmp() function copies the fields of the utmpx structure pointed to by ux to the corresponding fields of the utmp structure pointed to by u. The getutmpx

manpages/numastat.8.html
numastat(8) - Print statistics about NUMA memory allocation
numastat with no command options or arguments at all, displays per-node NUMA hit and miss system statistics from the kernel memory allocator. This default numas

manpages/glTexCoord1fv.3gl.html
glTexCoord1fv(3gl) - set the current texture coordinates....
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (s, 0, 0, 1); a call to glT

manpages/Tk_GetMMFromObj.3.html
Tk_GetMMFromObj(3) - translate between strings and screen un
These procedures take as argument a specification of distance on the screen (objPtr or string) and compute the corresponding distance either in integer pixels o

manpages/ps2ascii.1.html
ps2ascii(1) - Ghostscript translator from PostScript or PDF
ps2ascii uses gs(1) to extract ASCII text from PostScript(tm) or Adobe Portable Document Format (PDF) files. If no files are specified on the command line, gs r

manpages/timerfd_gettime.2.html
timerfd_gettime(2) - timers that notify via file descriptors
These system calls create and operate on a timer that delivers timer expiration notifications via a file descriptor. They provide an alternative to the use of s





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