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

NAME

6       audit_update_watch_perms - update permissions field of watch command
7

SYNOPSIS

9       #include <libaudit.h>
10
11       int audit_update_watch_perms(struct audit_rule_data *rule, int perms);
12
13

DESCRIPTION

15       audit_update_watch_perms  adds the permission checks to a watch command
16       that  is  being  built.  The   perms   are   a   bitwise   or'ing   of:
17       AUDIT_PERM_EXEC, AUDIT_PERM_WRITE, AUDIT_PERM_READ, AUDIT_PERM_ATTR.
18
19

RETURN VALUE

21       Returns a number < 0 if an error occurs; otherwise, 0 for success.
22
23

SEE ALSO

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

AUTHOR

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