#ifdef _OSF_SOURCE

/*
 * System Call definitions for auditing
 *
 * DO NOT EDIT-- This file is automatically generated
 */

#define AUDIT_SYSV_UNLINK        0	/* sysv_unlink unlink */
#define AUDIT_ULT_EXIT           1	/* rexit exit */
#define AUDIT_ULT_FORK           2	/* fork */
#define AUDIT_ULT_READ           3	/* read */
#define AUDIT_ULT_WRITE          4	/* write */
#define AUDIT_ULT_OPEN           5	/* ult_open open */
#define AUDIT_ULT_CLOSE          6	/* ult_close close */
#define AUDIT_ULT_CREAT          8	/* ocreat creat */
#define AUDIT_ULT_LINK           9	/* link */
#define AUDIT_ULT_UNLINK        10	/* unlink */
#define AUDIT_ULT_EXECV         11	/* ult_execv execv */
#define AUDIT_ULT_CHDIR         12	/* chdir */
#define AUDIT_ULT_MKNOD         14	/* mknod */
#define AUDIT_ULT_CHMOD         15	/* chmod */
#define AUDIT_ULT_CHOWN         16	/* chown */
#define AUDIT_ULT_KILL          37	/* kill */
#define AUDIT_ULT_DUP           41	/* dup */
#define AUDIT_ULT_PIPE          42	/* pipe */
#define AUDIT_ULT_REBOOT        55	/* reboot */
#define AUDIT_ULT_SYMLINK       57	/* symlink */
#define AUDIT_ULT_EXECVE        59	/* ult_execve execve */
#define AUDIT_ULT_CHROOT        61	/* chroot */
#define AUDIT_ULT_VFORK         66	/* vfork */
#define AUDIT_ULT_SETHOSTNAM    88	/* sethostname */
#define AUDIT_ULT_DUP2          90	/* dup2 */
#define AUDIT_ULT_FCNTL         92	/* ult_fcntl fcntl */
#define AUDIT_ULT_SOCKET        97	/* socket */
#define AUDIT_ULT_CONNECT       98	/* connect */
#define AUDIT_ULT_ACCEPT        99	/* oaccept accept */
#define AUDIT_ULT_SEND         101	/* osend send */
#define AUDIT_ULT_RECV         102	/* orecv recv */
#define AUDIT_ULT_BIND         104	/* bind */
#define AUDIT_ULT_RECVMSG      113	/* orecvmsg recvmsg */
#define AUDIT_ULT_SENDMSG      114	/* osendmsg sendmsg */
#define AUDIT_ULT_READV        120	/* readv */
#define AUDIT_ULT_WRITEV       121	/* writev */
#define AUDIT_ULT_FCHOWN       123	/* fchown */
#define AUDIT_ULT_FCHMOD       124	/* fchmod */
#define AUDIT_ULT_RECVFROM     125	/* orecvfrom recvfrom */
#define AUDIT_ULT_SETREUID     126	/* setreuid */
#define AUDIT_ULT_SETREGID     127	/* setregid */
#define AUDIT_ULT_RENAME       128	/* rename */
#define AUDIT_ULT_TRUNCATE     129	/* truncate */
#define AUDIT_ULT_FTRUNCATE    130	/* ftruncate */
#define AUDIT_ULT_SENDTO       133	/* sendto */
#define AUDIT_ULT_SHUTDOWN     134	/* shutdown */
#define AUDIT_ULT_SOCKETPAIR   135	/* socketpair */
#define AUDIT_ULT_MKDIR        136	/* mkdir */
#define AUDIT_ULT_RMDIR        137	/* rmdir */
#define AUDIT_ULT_SETHOSTID    143	/* sethostid */
#define AUDIT_ULT_SETRLIMIT    145	/* ult_setrlimit setrlimit */
#define AUDIT_ULT_KILLPG       146	/* okillpg killpg */
#define AUDIT_ULT_SETDOMAINN   166	/* setdomainname */
#define AUDIT_ULT_MSGCTL       172	/* msgctl */
#define AUDIT_ULT_MSGGET       173	/* msgget */
#define AUDIT_ULT_MSGRCV       174	/* msgrcv */
#define AUDIT_ULT_MSGSND       175	/* msgsnd */
#define AUDIT_ULT_SEMCTL       176	/* ult_semctl semctl */
#define AUDIT_ULT_SEMGET       177	/* semget */
#define AUDIT_ULT_SEMOP        178	/* ult_semop semop */
#define AUDIT_ULT_SETSID       188	/* setsid */
#define AUDIT_ULT_SETSYSINFO   257	/* ult_setsysinfo setsysinfo */
#ifdef	sun4
#else
#endif
#define AUDIT_EXIT               1	/* rexit exit */
#define AUDIT_FORK               2	/* fork */
#define AUDIT_READ               3	/* read */
#define AUDIT_WRITE              4	/* write */
#define AUDIT_OOPEN              5	/* old open */
#define AUDIT_CLOSE              6	/* close */
#define AUDIT_OCREAT             8	/* old creat */
#define AUDIT_LINK               9	/* link */
#define AUDIT_UNLINK            10	/* unlink */
#define AUDIT_EXECV             11	/* execv */
#define AUDIT_CHDIR             12	/* chdir */
#define AUDIT_FCHDIR            13	/* fchdir */
#define AUDIT_MKNOD             14	/* mknod */
#define AUDIT_CHMOD             15	/* chmod */
#define AUDIT_CHOWN             16	/* chown */
#define AUDIT_SETUID            23	/* setuid */
#define AUDIT_EXEC_WITH_LOAD    25	/* exec_with_loader */
#ifdef	sun
#else
#endif
#ifdef	COMPAT_43
#define AUDIT_NRECVMSG          27	/* recvmsg nrecvmsg */
#define AUDIT_NSENDMSG          28	/* sendmsg nsendmsg */
#define AUDIT_NRECVFROM         29	/* recvfrom nrecvfrom */
#define AUDIT_NACCEPT           30	/* accept naccept */
#else
#define AUDIT_RECVMSG           27	/* recvmsg */
#define AUDIT_SENDMSG           28	/* sendmsg */
#define AUDIT_RECVFROM          29	/* recvfrom */
#define AUDIT_ACCEPT            30	/* accept */
#endif
#define AUDIT_CHFLAGS           34	/* nosys chflags */
#define AUDIT_FCHFLAGS          35	/* nosys fchflags */
#define AUDIT_KILL              37	/* kill */
#define AUDIT_DUP               41	/* dup */
#define AUDIT_PIPE              42	/* pipe */
#define AUDIT_OPEN              45	/* open */
#if	defined(balance) || defined(mips)
#else
#endif
#ifdef	notyet
#else
#endif
#if	MACH_AFS
#else
#endif
#define AUDIT_REBOOT            55	/* reboot */
#define AUDIT_REVOKE            56	/* revoke */
#define AUDIT_SYMLINK           57	/* symlink */
#define AUDIT_EXECVE            59	/* execve */
#define AUDIT_CHROOT            61	/* chroot */
#ifdef	notyet
#else
#endif
#define AUDIT_VFORK             66	/* vfork */
#if	MACH_AFS
#else
#endif
#ifdef	mips
#else
#endif
#define AUDIT_SETHOSTNAME       88	/* sethostname */
#define AUDIT_DUP2              90	/* dup2 */
#define AUDIT_FCNTL             92	/* fcntl */
#define AUDIT_SOCKET            97	/* socket */
#define AUDIT_CONNECT           98	/* connect */
#ifdef	COMPAT_43
#define AUDIT_ACCEPT            99	/* oaccept accept */
#else
#define AUDIT_OACCEPT           99	/* old accept */
#endif
#ifdef	COMPAT_43
#define AUDIT_SEND             101	/* osend send */
#define AUDIT_RECV             102	/* orecv recv */
#else
#define AUDIT_OSEND            101	/* old send */
#define AUDIT_ORECV            102	/* old recv */
#endif
#define AUDIT_BIND             104	/* bind */
#if	defined(balance) || defined(mips)
#else
#endif
#ifdef	COMPAT_43
#define AUDIT_RECVMSG          113	/* orecvmsg recvmsg */
#define AUDIT_SENDMSG          114	/* osendmsg sendmsg */
#else
#define AUDIT_ORECVMSG         113	/* old recvmsg */
#define AUDIT_OSENDMSG         114	/* old sendmsg */
#endif
#ifdef	TRACE
#else
#endif
#if	defined(vax) || defined(i386)
#else
#endif
#define AUDIT_READV            120	/* readv */
#define AUDIT_WRITEV           121	/* writev */
#define AUDIT_FCHOWN           123	/* fchown */
#define AUDIT_FCHMOD           124	/* fchmod */
#ifdef	COMPAT_43
#define AUDIT_RECVFROM         125	/* orecvfrom recvfrom */
#else
#define AUDIT_ORECVFROM        125	/* old recvfrom */
#endif
#define AUDIT_SETREUID         126	/* setreuid */
#define AUDIT_SETREGID         127	/* setregid */
#define AUDIT_RENAME           128	/* rename */
#define AUDIT_TRUNCATE         129	/* truncate */
#define AUDIT_FTRUNCATE        130	/* ftruncate */
#if	MACH_AFS
#else
#endif
#define AUDIT_SETGID           132	/* setgid */
#define AUDIT_SENDTO           133	/* sendto */
#define AUDIT_SHUTDOWN         134	/* shutdown */
#define AUDIT_SOCKETPAIR       135	/* socketpair */
#define AUDIT_MKDIR            136	/* mkdir */
#define AUDIT_RMDIR            137	/* rmdir */
#ifdef	COMPAT_43
#else
#endif
#define AUDIT_SETHOSTID        143	/* sethostid */
#define AUDIT_SETRLIMIT        145	/* setrlimit */
#define AUDIT_OKILLPG          146	/* old killpg */
#define AUDIT_SETSID           147	/* setsid */
#ifdef	COMPAT_43
#else
#endif
#define	GENERIC	1
#ifdef	ibmrt
#undef	GENERIC
#define AUDIT_EXECT            151	/* exect */
#if	MACH_AFS
#else
#endif
#define AUDIT_SETDOMAINNAME    177	/* setdomainname */
#endif	/* ibmrt */
#ifdef	sun
#undef	GENERIC
#define AUDIT_SETDOMAINNAME    163	/* setdomainname */
#if	MACH_AFS
#else	/* MACH_AFS */
#endif	/* MACH_AFS */
#endif	/* sun */
#if	defined(vax) || defined(i386)
#undef	GENERIC
#if	MACH_AFS
#else
#endif
#define AUDIT_SETDOMAINNAME    170	/* setdomainname */
#if	MACH_AFS
#else
#endif
#endif	/* defined(vax) || defined(i386) */
#if	defined(balance)
#undef	GENERIC
#define AUDIT_SETDOMAINNAME    163	/* setdomainname */
#if	MACH_AFS
#else	/* MACH_AFS */
#endif	/* MACH_AFS */
#endif	/* defined(balance) */
#ifdef	mips
#undef	GENERIC
#define AUDIT_SETDOMAINNAME    166	/* setdomainname */
#endif	/* mips */
#ifdef	multimax
#undef	GENERIC
#define AUDIT_SETDOMAINNAME    163	/* setdomainname */
#if	MACH_AFS
#else
#endif
#endif	/* multimax */
#ifdef	GENERIC
#define AUDIT_SETDOMAINNAME    163	/* setdomainname */
#if	MACH_AFS && !defined(PMAX)
#else	/* MACH_AFS  && !defined(PMAX) */
#ifdef PMAX
#define AUDIT_MSGCTL1          172	/* msgctl */
#define AUDIT_MSGGET1          173	/* msgget */
#define AUDIT_MSGRCV1          174	/* msgrcv */
#define AUDIT_MSGSND1          175	/* msgsnd */
#define AUDIT_SEMCTL1          176	/* semctl */
#define AUDIT_SEMGET1          177	/* semget */
#define AUDIT_SEMOP1           178	/* semop */
#else	/* PMAX */
#endif	/* PMAX */
#endif	/* MACH_AFS && !defined(PMAX) */
#endif	/* GENERIC */
#ifdef	PMAX
#undef GENERIC
#ifdef	notyet
#else	/* notyet */
#endif	/* notyet */
#undef	SYS_mount
#ifdef notyet
#undef	SYS_unmount
#else	/* notyet */
#endif	/* notyet */
#define AUDIT_SETSID1          188	/* setsid */
#else	/* PMAX */
#ifdef	ibmrt
#else	/* ibmrt */
#endif	/* ibmrt */
#endif	/* PMAX */
#ifdef	PMAX
#if	MACH_AFS
#else	/* MACH_AFS */
#endif	/* MACH_AFS */
#else	/* PMAX */
#endif	/* PMAX */
#define AUDIT_MSGCTL           200	/* msgctl */
#define AUDIT_MSGGET           201	/* msgget */
#define AUDIT_MSGRCV           202	/* msgrcv */
#define AUDIT_MSGSND           203	/* msgsnd */
#define AUDIT_SEMCTL           204	/* semctl */
#define AUDIT_SEMGET           205	/* semget */
#define AUDIT_SEMOP            206	/* semop */
#define AUDIT_LCHOWN           208	/* lchown */
#define AUDIT_SHMAT            209	/* shmat */
#define AUDIT_SHMCTL           210	/* shmctl */
#define AUDIT_SHMDT            211	/* shmdt */
#define AUDIT_SHMGET           212	/* shmget */
#if	defined(balance) || defined(mips)
#else
#endif
#if	SEC_BASE
#define AUDIT_SECURITY         222	/* security */
#else
#endif
#if	MACH_AFS || !defined(KERNEL)
#undef	SYS_pioctl
#undef	SYS_setpag
#undef	SYS_iopen
#undef	SYS_icreate
#undef	SYS_iread
#undef	SYS_iwrite
#undef	SYS_iinc
#undef	SYS_idec
#undef	SYS_afs_call
#else	/* MACH_AFS || !defined(KERNEL) */
#endif	/* MACH_AFS || !defined(KERNEL) */
#define AUDIT_SETSYSINFO       257	/* setsysinfo */
#endif
