Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setevent(2) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getevent(2)

audevent(1M)

SETEVENT(2)

NAME

setevent − set current events and system calls which are to be audited

SYNOPSIS

#include <sys/audit.h>

int setevent (a_syscall, a_event)
struct aud_type *a_syscall;
struct aud_event_tbl *a_event;

DESCRIPTION

Setevent sets the events and system calls to be audited.  The event and system call settings in the tables pointed to by a_syscall and a_event become the current settings.  This call is restricted to the superuser. 

RETURN VALUE

Upon successful completion, setevent returns a value of 0; otherwise, a −1 is returned. 

ERRORS

Setevent fails if the following is true:

[EPERM] The caller is not a superuser. 

AUTHOR

Setevent was developed by HP. 

SEE ALSO

getevent(2), audevent(1M). 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026