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

NAME

6       audit_add_watch - create a rule layout for a watch
7

SYNOPSIS

9       #include <libaudit.h>
10
11       int audit_add_watch(struct audit_rule_data **rulep, const char *path);
12
13

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

25       audit_add_rule_data(3), audit_delete_rule_data(3).
26
27

AUTHOR

29       Steve Grubb
30
31
32
33Red Hat                            Feb 2007                 AUDIT_ADD_WATCH(3)
Impressum