1184902Srwatson/*- 2191273Srwatson * Copyright (c) 2005-2009 Apple Inc. 3184902Srwatson * All rights reserved. 4184902Srwatson * 5184902Srwatson * Redistribution and use in source and binary forms, with or without 6184902Srwatson * modification, are permitted provided that the following conditions 7184902Srwatson * are met: 8184902Srwatson * 9184902Srwatson * 1. Redistributions of source code must retain the above copyright 10184902Srwatson * notice, this list of conditions and the following disclaimer. 11184902Srwatson * 2. Redistributions in binary form must reproduce the above copyright 12184902Srwatson * notice, this list of conditions and the following disclaimer in the 13184902Srwatson * documentation and/or other materials provided with the distribution. 14184902Srwatson * 3. Neither the name of Apple Inc. ("Apple") nor the names of 15184902Srwatson * its contributors may be used to endorse or promote products derived 16184902Srwatson * from this software without specific prior written permission. 17184902Srwatson * 18184902Srwatson * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY 19184902Srwatson * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20184902Srwatson * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21184902Srwatson * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 22184902Srwatson * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23184902Srwatson * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24184902Srwatson * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25184902Srwatson * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26184902Srwatson * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27184902Srwatson * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28184902Srwatson * 29244265Srwatson * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#10 $ 30184902Srwatson */ 31184902Srwatson 32184902Srwatson#ifndef _BSM_AUDIT_KEVENTS_H_ 33184902Srwatson#define _BSM_AUDIT_KEVENTS_H_ 34184902Srwatson 35184902Srwatson/* 36191273Srwatson * The reserved event numbers for kernel events are 1...2047 and 43001..44900. 37191273Srwatson */ 38191273Srwatson#define AUE_IS_A_KEVENT(e) (((e) > 0 && (e) < 2048) || \ 39191273Srwatson ((e) > 43000 && (e) < 45000)) 40191273Srwatson 41191273Srwatson/* 42184902Srwatson * Values marked as AUE_NULL are not required to be audited as per CAPP. 43184902Srwatson * 44184902Srwatson * Some conflicts exist in the assignment of name to event number mappings 45184902Srwatson * between BSM implementations. In general, we prefer the OpenSolaris 46184902Srwatson * definition as we consider Solaris BSM to be authoritative. _DARWIN_ has 47184902Srwatson * been inserted for the Darwin variants. If necessary, other tags will be 48184902Srwatson * added in the future. 49184902Srwatson */ 50184902Srwatson#define AUE_NULL 0 51184902Srwatson#define AUE_EXIT 1 52184902Srwatson#define AUE_FORK 2 53184902Srwatson#define AUE_FORKALL AUE_FORK /* Solaris-specific. */ 54184902Srwatson#define AUE_OPEN 3 55184902Srwatson#define AUE_CREAT 4 56184902Srwatson#define AUE_LINK 5 57184902Srwatson#define AUE_UNLINK 6 58184902Srwatson#define AUE_DELETE AUE_UNLINK /* Darwin-specific. */ 59184902Srwatson#define AUE_EXEC 7 60184902Srwatson#define AUE_CHDIR 8 61184902Srwatson#define AUE_MKNOD 9 62184902Srwatson#define AUE_CHMOD 10 63184902Srwatson#define AUE_CHOWN 11 64184902Srwatson#define AUE_UMOUNT 12 65184902Srwatson#define AUE_JUNK 13 /* Solaris-specific. */ 66184902Srwatson#define AUE_ACCESS 14 67184902Srwatson#define AUE_KILL 15 68184902Srwatson#define AUE_STAT 16 69184902Srwatson#define AUE_LSTAT 17 70184902Srwatson#define AUE_ACCT 18 71184902Srwatson#define AUE_MCTL 19 /* Solaris-specific. */ 72184902Srwatson#define AUE_REBOOT 20 /* XXX: Darwin conflict. */ 73184902Srwatson#define AUE_SYMLINK 21 74184902Srwatson#define AUE_READLINK 22 75184902Srwatson#define AUE_EXECVE 23 76184902Srwatson#define AUE_CHROOT 24 77184902Srwatson#define AUE_VFORK 25 78184902Srwatson#define AUE_SETGROUPS 26 79184902Srwatson#define AUE_SETPGRP 27 80184902Srwatson#define AUE_SWAPON 28 81184902Srwatson#define AUE_SETHOSTNAME 29 /* XXX: Darwin conflict. */ 82184902Srwatson#define AUE_FCNTL 30 83184902Srwatson#define AUE_SETPRIORITY 31 /* XXX: Darwin conflict. */ 84184902Srwatson#define AUE_CONNECT 32 85184902Srwatson#define AUE_ACCEPT 33 86184902Srwatson#define AUE_BIND 34 87184902Srwatson#define AUE_SETSOCKOPT 35 88184902Srwatson#define AUE_VTRACE 36 /* Solaris-specific. */ 89184902Srwatson#define AUE_SETTIMEOFDAY 37 /* XXX: Darwin conflict. */ 90184902Srwatson#define AUE_FCHOWN 38 91184902Srwatson#define AUE_FCHMOD 39 92184902Srwatson#define AUE_SETREUID 40 93184902Srwatson#define AUE_SETREGID 41 94184902Srwatson#define AUE_RENAME 42 95184902Srwatson#define AUE_TRUNCATE 43 /* XXX: Darwin conflict. */ 96184902Srwatson#define AUE_FTRUNCATE 44 /* XXX: Darwin conflict. */ 97184902Srwatson#define AUE_FLOCK 45 /* XXX: Darwin conflict. */ 98184902Srwatson#define AUE_SHUTDOWN 46 99184902Srwatson#define AUE_MKDIR 47 100184902Srwatson#define AUE_RMDIR 48 101184902Srwatson#define AUE_UTIMES 49 102184902Srwatson#define AUE_ADJTIME 50 103184902Srwatson#define AUE_SETRLIMIT 51 104184902Srwatson#define AUE_KILLPG 52 105184902Srwatson#define AUE_NFS_SVC 53 /* XXX: Darwin conflict. */ 106184902Srwatson#define AUE_STATFS 54 107184902Srwatson#define AUE_FSTATFS 55 108184902Srwatson#define AUE_UNMOUNT 56 /* XXX: Darwin conflict. */ 109184902Srwatson#define AUE_ASYNC_DAEMON 57 110184902Srwatson#define AUE_NFS_GETFH 58 /* XXX: Darwin conflict. */ 111184902Srwatson#define AUE_SETDOMAINNAME 59 112184902Srwatson#define AUE_QUOTACTL 60 /* XXX: Darwin conflict. */ 113184902Srwatson#define AUE_EXPORTFS 61 114184902Srwatson#define AUE_MOUNT 62 115184902Srwatson#define AUE_SEMSYS 63 116184902Srwatson#define AUE_MSGSYS 64 117184902Srwatson#define AUE_SHMSYS 65 118184902Srwatson#define AUE_BSMSYS 66 /* Solaris-specific. */ 119184902Srwatson#define AUE_RFSSYS 67 /* Solaris-specific. */ 120184902Srwatson#define AUE_FCHDIR 68 121184902Srwatson#define AUE_FCHROOT 69 122184902Srwatson#define AUE_VPIXSYS 70 /* Solaris-specific. */ 123184902Srwatson#define AUE_PATHCONF 71 124184902Srwatson#define AUE_OPEN_R 72 125184902Srwatson#define AUE_OPEN_RC 73 126184902Srwatson#define AUE_OPEN_RT 74 127184902Srwatson#define AUE_OPEN_RTC 75 128184902Srwatson#define AUE_OPEN_W 76 129184902Srwatson#define AUE_OPEN_WC 77 130184902Srwatson#define AUE_OPEN_WT 78 131184902Srwatson#define AUE_OPEN_WTC 79 132184902Srwatson#define AUE_OPEN_RW 80 133184902Srwatson#define AUE_OPEN_RWC 81 134184902Srwatson#define AUE_OPEN_RWT 82 135184902Srwatson#define AUE_OPEN_RWTC 83 136184902Srwatson#define AUE_MSGCTL 84 137184902Srwatson#define AUE_MSGCTL_RMID 85 138184902Srwatson#define AUE_MSGCTL_SET 86 139184902Srwatson#define AUE_MSGCTL_STAT 87 140184902Srwatson#define AUE_MSGGET 88 141184902Srwatson#define AUE_MSGRCV 89 142184902Srwatson#define AUE_MSGSND 90 143184902Srwatson#define AUE_SHMCTL 91 144184902Srwatson#define AUE_SHMCTL_RMID 92 145184902Srwatson#define AUE_SHMCTL_SET 93 146184902Srwatson#define AUE_SHMCTL_STAT 94 147184902Srwatson#define AUE_SHMGET 95 148184902Srwatson#define AUE_SHMAT 96 149184902Srwatson#define AUE_SHMDT 97 150184902Srwatson#define AUE_SEMCTL 98 151184902Srwatson#define AUE_SEMCTL_RMID 99 152184902Srwatson#define AUE_SEMCTL_SET 100 153184902Srwatson#define AUE_SEMCTL_STAT 101 154184902Srwatson#define AUE_SEMCTL_GETNCNT 102 155184902Srwatson#define AUE_SEMCTL_GETPID 103 156184902Srwatson#define AUE_SEMCTL_GETVAL 104 157184902Srwatson#define AUE_SEMCTL_GETALL 105 158184902Srwatson#define AUE_SEMCTL_GETZCNT 106 159184902Srwatson#define AUE_SEMCTL_SETVAL 107 160184902Srwatson#define AUE_SEMCTL_SETALL 108 161184902Srwatson#define AUE_SEMGET 109 162184902Srwatson#define AUE_SEMOP 110 163184902Srwatson#define AUE_CORE 111 /* Solaris-specific, currently. */ 164184902Srwatson#define AUE_CLOSE 112 165184902Srwatson#define AUE_SYSTEMBOOT 113 /* Solaris-specific. */ 166184902Srwatson#define AUE_ASYNC_DAEMON_EXIT 114 /* Solaris-specific. */ 167184902Srwatson#define AUE_NFSSVC_EXIT 115 /* Solaris-specific. */ 168184902Srwatson#define AUE_WRITEL 128 /* Solaris-specific. */ 169184902Srwatson#define AUE_WRITEVL 129 /* Solaris-specific. */ 170184902Srwatson#define AUE_GETAUID 130 171184902Srwatson#define AUE_SETAUID 131 172184902Srwatson#define AUE_GETAUDIT 132 173184902Srwatson#define AUE_SETAUDIT 133 174184902Srwatson#define AUE_GETUSERAUDIT 134 /* Solaris-specific. */ 175184902Srwatson#define AUE_SETUSERAUDIT 135 /* Solaris-specific. */ 176184902Srwatson#define AUE_AUDITSVC 136 /* Solaris-specific. */ 177184902Srwatson#define AUE_AUDITUSER 137 /* Solaris-specific. */ 178184902Srwatson#define AUE_AUDITON 138 179184902Srwatson#define AUE_AUDITON_GTERMID 139 /* Solaris-specific. */ 180184902Srwatson#define AUE_AUDITON_STERMID 140 /* Solaris-specific. */ 181184902Srwatson#define AUE_AUDITON_GPOLICY 141 182184902Srwatson#define AUE_AUDITON_SPOLICY 142 183184902Srwatson#define AUE_AUDITON_GQCTRL 145 184184902Srwatson#define AUE_AUDITON_SQCTRL 146 185184902Srwatson#define AUE_GETKERNSTATE 147 /* Solaris-specific. */ 186184902Srwatson#define AUE_SETKERNSTATE 148 /* Solaris-specific. */ 187184902Srwatson#define AUE_GETPORTAUDIT 149 /* Solaris-specific. */ 188184902Srwatson#define AUE_AUDITSTAT 150 /* Solaris-specific. */ 189184902Srwatson#define AUE_REVOKE 151 190184902Srwatson#define AUE_MAC 152 /* Solaris-specific. */ 191184902Srwatson#define AUE_ENTERPROM 153 /* Solaris-specific. */ 192184902Srwatson#define AUE_EXITPROM 154 /* Solaris-specific. */ 193184902Srwatson#define AUE_IFLOAT 155 /* Solaris-specific. */ 194184902Srwatson#define AUE_PFLOAT 156 /* Solaris-specific. */ 195184902Srwatson#define AUE_UPRIV 157 /* Solaris-specific. */ 196184902Srwatson#define AUE_IOCTL 158 197184902Srwatson#define AUE_SOCKET 183 198184902Srwatson#define AUE_SENDTO 184 199184902Srwatson#define AUE_PIPE 185 200184902Srwatson#define AUE_SOCKETPAIR 186 /* XXX: Darwin conflict. */ 201184902Srwatson#define AUE_SEND 187 202184902Srwatson#define AUE_SENDMSG 188 203184902Srwatson#define AUE_RECV 189 204184902Srwatson#define AUE_RECVMSG 190 205184902Srwatson#define AUE_RECVFROM 191 206184902Srwatson#define AUE_READ 192 207184902Srwatson#define AUE_GETDENTS 193 208184902Srwatson#define AUE_LSEEK 194 209184902Srwatson#define AUE_WRITE 195 210184902Srwatson#define AUE_WRITEV 196 211184902Srwatson#define AUE_NFS 197 /* Solaris-specific. */ 212184902Srwatson#define AUE_READV 198 213184902Srwatson#define AUE_OSTAT 199 /* Solaris-specific. */ 214184902Srwatson#define AUE_SETUID 200 /* XXXRW: Solaris old setuid? */ 215184902Srwatson#define AUE_STIME 201 /* XXXRW: Solaris old stime? */ 216184902Srwatson#define AUE_UTIME 202 /* XXXRW: Solaris old utime? */ 217184902Srwatson#define AUE_NICE 203 /* XXXRW: Solaris old nice? */ 218184902Srwatson#define AUE_OSETPGRP 204 /* Solaris-specific. */ 219184902Srwatson#define AUE_SETGID 205 220184902Srwatson#define AUE_READL 206 /* Solaris-specific. */ 221184902Srwatson#define AUE_READVL 207 /* Solaris-specific. */ 222184902Srwatson#define AUE_FSTAT 208 223184902Srwatson#define AUE_DUP2 209 224184902Srwatson#define AUE_MMAP 210 225184902Srwatson#define AUE_AUDIT 211 226184902Srwatson#define AUE_PRIOCNTLSYS 212 /* Solaris-specific. */ 227184902Srwatson#define AUE_MUNMAP 213 228184902Srwatson#define AUE_SETEGID 214 229184902Srwatson#define AUE_SETEUID 215 230184902Srwatson#define AUE_PUTMSG 216 /* Solaris-specific. */ 231184902Srwatson#define AUE_GETMSG 217 /* Solaris-specific. */ 232184902Srwatson#define AUE_PUTPMSG 218 /* Solaris-specific. */ 233184902Srwatson#define AUE_GETPMSG 219 /* Solaris-specific. */ 234184902Srwatson#define AUE_AUDITSYS 220 /* Solaris-specific. */ 235184902Srwatson#define AUE_AUDITON_GETKMASK 221 236184902Srwatson#define AUE_AUDITON_SETKMASK 222 237184902Srwatson#define AUE_AUDITON_GETCWD 223 238184902Srwatson#define AUE_AUDITON_GETCAR 224 239184902Srwatson#define AUE_AUDITON_GETSTAT 225 240184902Srwatson#define AUE_AUDITON_SETSTAT 226 241184902Srwatson#define AUE_AUDITON_SETUMASK 227 242184902Srwatson#define AUE_AUDITON_SETSMASK 228 243184902Srwatson#define AUE_AUDITON_GETCOND 229 244184902Srwatson#define AUE_AUDITON_SETCOND 230 245184902Srwatson#define AUE_AUDITON_GETCLASS 231 246184902Srwatson#define AUE_AUDITON_SETCLASS 232 247184902Srwatson#define AUE_FUSERS 233 /* Solaris-specific; also UTSSYS? */ 248184902Srwatson#define AUE_STATVFS 234 249184902Srwatson#define AUE_XSTAT 235 /* Solaris-specific. */ 250184902Srwatson#define AUE_LXSTAT 236 /* Solaris-specific. */ 251184902Srwatson#define AUE_LCHOWN 237 252184902Srwatson#define AUE_MEMCNTL 238 /* Solaris-specific. */ 253184902Srwatson#define AUE_SYSINFO 239 /* Solaris-specific. */ 254184902Srwatson#define AUE_XMKNOD 240 /* Solaris-specific. */ 255184902Srwatson#define AUE_FORK1 241 256184902Srwatson#define AUE_MODCTL 242 /* Solaris-specific. */ 257184902Srwatson#define AUE_MODLOAD 243 258184902Srwatson#define AUE_MODUNLOAD 244 259184902Srwatson#define AUE_MODCONFIG 245 /* Solaris-specific. */ 260184902Srwatson#define AUE_MODADDMAJ 246 /* Solaris-specific. */ 261184902Srwatson#define AUE_SOCKACCEPT 247 /* Solaris-specific. */ 262184902Srwatson#define AUE_SOCKCONNECT 248 /* Solaris-specific. */ 263184902Srwatson#define AUE_SOCKSEND 249 /* Solaris-specific. */ 264184902Srwatson#define AUE_SOCKRECEIVE 250 /* Solaris-specific. */ 265184902Srwatson#define AUE_ACLSET 251 266184902Srwatson#define AUE_FACLSET 252 267184902Srwatson#define AUE_DOORFS 253 /* Solaris-specific. */ 268184902Srwatson#define AUE_DOORFS_DOOR_CALL 254 /* Solaris-specific. */ 269184902Srwatson#define AUE_DOORFS_DOOR_RETURN 255 /* Solaris-specific. */ 270184902Srwatson#define AUE_DOORFS_DOOR_CREATE 256 /* Solaris-specific. */ 271184902Srwatson#define AUE_DOORFS_DOOR_REVOKE 257 /* Solaris-specific. */ 272184902Srwatson#define AUE_DOORFS_DOOR_INFO 258 /* Solaris-specific. */ 273184902Srwatson#define AUE_DOORFS_DOOR_CRED 259 /* Solaris-specific. */ 274184902Srwatson#define AUE_DOORFS_DOOR_BIND 260 /* Solaris-specific. */ 275184902Srwatson#define AUE_DOORFS_DOOR_UNBIND 261 /* Solaris-specific. */ 276184902Srwatson#define AUE_P_ONLINE 262 /* Solaris-specific. */ 277184902Srwatson#define AUE_PROCESSOR_BIND 263 /* Solaris-specific. */ 278184902Srwatson#define AUE_INST_SYNC 264 /* Solaris-specific. */ 279184902Srwatson#define AUE_SOCKCONFIG 265 /* Solaris-specific. */ 280184902Srwatson#define AUE_SETAUDIT_ADDR 266 281184902Srwatson#define AUE_GETAUDIT_ADDR 267 282184902Srwatson#define AUE_UMOUNT2 268 /* Solaris-specific. */ 283184902Srwatson#define AUE_FSAT 269 /* Solaris-specific. */ 284184902Srwatson#define AUE_OPENAT_R 270 285184902Srwatson#define AUE_OPENAT_RC 271 286184902Srwatson#define AUE_OPENAT_RT 272 287184902Srwatson#define AUE_OPENAT_RTC 273 288184902Srwatson#define AUE_OPENAT_W 274 289184902Srwatson#define AUE_OPENAT_WC 275 290184902Srwatson#define AUE_OPENAT_WT 276 291184902Srwatson#define AUE_OPENAT_WTC 277 292184902Srwatson#define AUE_OPENAT_RW 278 293184902Srwatson#define AUE_OPENAT_RWC 279 294184902Srwatson#define AUE_OPENAT_RWT 280 295184902Srwatson#define AUE_OPENAT_RWTC 281 296184902Srwatson#define AUE_RENAMEAT 282 297184902Srwatson#define AUE_FSTATAT 283 298184902Srwatson#define AUE_FCHOWNAT 284 299184902Srwatson#define AUE_FUTIMESAT 285 300184902Srwatson#define AUE_UNLINKAT 286 301184902Srwatson#define AUE_CLOCK_SETTIME 287 302184902Srwatson#define AUE_NTP_ADJTIME 288 303184902Srwatson#define AUE_SETPPRIV 289 /* Solaris-specific. */ 304184902Srwatson#define AUE_MODDEVPLCY 290 /* Solaris-specific. */ 305184902Srwatson#define AUE_MODADDPRIV 291 /* Solaris-specific. */ 306184902Srwatson#define AUE_CRYPTOADM 292 /* Solaris-specific. */ 307184902Srwatson#define AUE_CONFIGKSSL 293 /* Solaris-specific. */ 308184902Srwatson#define AUE_BRANDSYS 294 /* Solaris-specific. */ 309184902Srwatson#define AUE_PF_POLICY_ADDRULE 295 /* Solaris-specific. */ 310184902Srwatson#define AUE_PF_POLICY_DELRULE 296 /* Solaris-specific. */ 311184902Srwatson#define AUE_PF_POLICY_CLONE 297 /* Solaris-specific. */ 312184902Srwatson#define AUE_PF_POLICY_FLIP 298 /* Solaris-specific. */ 313184902Srwatson#define AUE_PF_POLICY_FLUSH 299 /* Solaris-specific. */ 314184902Srwatson#define AUE_PF_POLICY_ALGS 300 /* Solaris-specific. */ 315184902Srwatson#define AUE_PORTFS 301 /* Solaris-specific. */ 316184902Srwatson 317184902Srwatson/* 318184902Srwatson * Events added for Apple Darwin that potentially collide with future Solaris 319184902Srwatson * BSM events. These are assigned AUE_DARWIN prefixes, and are deprecated in 320184902Srwatson * new trails. Systems generating these events should switch to the new 321184902Srwatson * identifiers that avoid colliding with the Solaris identifier space. 322184902Srwatson */ 323184902Srwatson#define AUE_DARWIN_GETFSSTAT 301 324184902Srwatson#define AUE_DARWIN_PTRACE 302 325184902Srwatson#define AUE_DARWIN_CHFLAGS 303 326184902Srwatson#define AUE_DARWIN_FCHFLAGS 304 327184902Srwatson#define AUE_DARWIN_PROFILE 305 328184902Srwatson#define AUE_DARWIN_KTRACE 306 329184902Srwatson#define AUE_DARWIN_SETLOGIN 307 330184902Srwatson#define AUE_DARWIN_REBOOT 308 331184902Srwatson#define AUE_DARWIN_REVOKE 309 332184902Srwatson#define AUE_DARWIN_UMASK 310 333184902Srwatson#define AUE_DARWIN_MPROTECT 311 334184902Srwatson#define AUE_DARWIN_SETPRIORITY 312 335184902Srwatson#define AUE_DARWIN_SETTIMEOFDAY 313 336184902Srwatson#define AUE_DARWIN_FLOCK 314 337184902Srwatson#define AUE_DARWIN_MKFIFO 315 338184902Srwatson#define AUE_DARWIN_POLL 316 339184902Srwatson#define AUE_DARWIN_SOCKETPAIR 317 340184902Srwatson#define AUE_DARWIN_FUTIMES 318 341184902Srwatson#define AUE_DARWIN_SETSID 319 342184902Srwatson#define AUE_DARWIN_SETPRIVEXEC 320 /* Darwin-specific. */ 343184902Srwatson#define AUE_DARWIN_NFSSVC 321 344184902Srwatson#define AUE_DARWIN_GETFH 322 345184902Srwatson#define AUE_DARWIN_QUOTACTL 323 346184902Srwatson#define AUE_DARWIN_ADDPROFILE 324 /* Darwin-specific. */ 347184902Srwatson#define AUE_DARWIN_KDEBUGTRACE 325 /* Darwin-specific. */ 348184902Srwatson#define AUE_DARWIN_KDBUGTRACE AUE_KDEBUGTRACE 349184902Srwatson#define AUE_DARWIN_FSTAT 326 350184902Srwatson#define AUE_DARWIN_FPATHCONF 327 351184902Srwatson#define AUE_DARWIN_GETDIRENTRIES 328 352184902Srwatson#define AUE_DARWIN_TRUNCATE 329 353184902Srwatson#define AUE_DARWIN_FTRUNCATE 330 354184902Srwatson#define AUE_DARWIN_SYSCTL 331 355184902Srwatson#define AUE_DARWIN_MLOCK 332 356184902Srwatson#define AUE_DARWIN_MUNLOCK 333 357184902Srwatson#define AUE_DARWIN_UNDELETE 334 358184902Srwatson#define AUE_DARWIN_GETATTRLIST 335 /* Darwin-specific. */ 359184902Srwatson#define AUE_DARWIN_SETATTRLIST 336 /* Darwin-specific. */ 360184902Srwatson#define AUE_DARWIN_GETDIRENTRIESATTR 337 /* Darwin-specific. */ 361184902Srwatson#define AUE_DARWIN_EXCHANGEDATA 338 /* Darwin-specific. */ 362184902Srwatson#define AUE_DARWIN_SEARCHFS 339 /* Darwin-specific. */ 363184902Srwatson#define AUE_DARWIN_MINHERIT 340 364184902Srwatson#define AUE_DARWIN_SEMCONFIG 341 365184902Srwatson#define AUE_DARWIN_SEMOPEN 342 366184902Srwatson#define AUE_DARWIN_SEMCLOSE 343 367184902Srwatson#define AUE_DARWIN_SEMUNLINK 344 368184902Srwatson#define AUE_DARWIN_SHMOPEN 345 369184902Srwatson#define AUE_DARWIN_SHMUNLINK 346 370184902Srwatson#define AUE_DARWIN_LOADSHFILE 347 /* Darwin-specific. */ 371184902Srwatson#define AUE_DARWIN_RESETSHFILE 348 /* Darwin-specific. */ 372184902Srwatson#define AUE_DARWIN_NEWSYSTEMSHREG 349 /* Darwin-specific. */ 373184902Srwatson#define AUE_DARWIN_PTHREADKILL 350 /* Darwin-specific. */ 374184902Srwatson#define AUE_DARWIN_PTHREADSIGMASK 351 /* Darwin-specific. */ 375184902Srwatson#define AUE_DARWIN_AUDITCTL 352 376184902Srwatson#define AUE_DARWIN_RFORK 353 377184902Srwatson#define AUE_DARWIN_LCHMOD 354 378184902Srwatson#define AUE_DARWIN_SWAPOFF 355 379184902Srwatson#define AUE_DARWIN_INITPROCESS 356 /* Darwin-specific. */ 380184902Srwatson#define AUE_DARWIN_MAPFD 357 /* Darwin-specific. */ 381184902Srwatson#define AUE_DARWIN_TASKFORPID 358 /* Darwin-specific. */ 382184902Srwatson#define AUE_DARWIN_PIDFORTASK 359 /* Darwin-specific. */ 383184902Srwatson#define AUE_DARWIN_SYSCTL_NONADMIN 360 384184902Srwatson#define AUE_DARWIN_COPYFILE 361 /* Darwin-specific. */ 385184902Srwatson 386184902Srwatson/* 387184902Srwatson * Audit event identifiers added as part of OpenBSM, generally corresponding 388184902Srwatson * to events in FreeBSD, Darwin, and Linux that were not present in Solaris. 389184902Srwatson * These often duplicate events added to the Solaris set by Darwin, but use 390184902Srwatson * event identifiers in a higher range in order to avoid colliding with 391184902Srwatson * future Solaris additions. 392184902Srwatson * 393184902Srwatson * If an event in this section is later added to Solaris, we prefer the 394184902Srwatson * Solaris event identifier, and add _OPENBSM_ to the OpenBSM-specific 395184902Srwatson * identifier so that old trails can still be processed, but new trails use 396184902Srwatson * the Solaris identifier. 397184902Srwatson */ 398184902Srwatson#define AUE_GETFSSTAT 43001 399184902Srwatson#define AUE_PTRACE 43002 400184902Srwatson#define AUE_CHFLAGS 43003 401184902Srwatson#define AUE_FCHFLAGS 43004 402184902Srwatson#define AUE_PROFILE 43005 403184902Srwatson#define AUE_KTRACE 43006 404184902Srwatson#define AUE_SETLOGIN 43007 405184902Srwatson#define AUE_OPENBSM_REVOKE 43008 /* Solaris event now preferred. */ 406184902Srwatson#define AUE_UMASK 43009 407184902Srwatson#define AUE_MPROTECT 43010 408184902Srwatson#define AUE_MKFIFO 43011 409184902Srwatson#define AUE_POLL 43012 410184902Srwatson#define AUE_FUTIMES 43013 411184902Srwatson#define AUE_SETSID 43014 412184902Srwatson#define AUE_SETPRIVEXEC 43015 /* Darwin-specific. */ 413184902Srwatson#define AUE_ADDPROFILE 43016 /* Darwin-specific. */ 414184902Srwatson#define AUE_KDEBUGTRACE 43017 /* Darwin-specific. */ 415184902Srwatson#define AUE_KDBUGTRACE AUE_KDEBUGTRACE 416184902Srwatson#define AUE_OPENBSM_FSTAT 43018 /* Solaris event now preferred. */ 417184902Srwatson#define AUE_FPATHCONF 43019 418184902Srwatson#define AUE_GETDIRENTRIES 43020 419184902Srwatson#define AUE_SYSCTL 43021 420184902Srwatson#define AUE_MLOCK 43022 421184902Srwatson#define AUE_MUNLOCK 43023 422184902Srwatson#define AUE_UNDELETE 43024 423184902Srwatson#define AUE_GETATTRLIST 43025 /* Darwin-specific. */ 424184902Srwatson#define AUE_SETATTRLIST 43026 /* Darwin-specific. */ 425184902Srwatson#define AUE_GETDIRENTRIESATTR 43027 /* Darwin-specific. */ 426184902Srwatson#define AUE_EXCHANGEDATA 43028 /* Darwin-specific. */ 427184902Srwatson#define AUE_SEARCHFS 43029 /* Darwin-specific. */ 428184902Srwatson#define AUE_MINHERIT 43030 429184902Srwatson#define AUE_SEMCONFIG 43031 430184902Srwatson#define AUE_SEMOPEN 43032 431184902Srwatson#define AUE_SEMCLOSE 43033 432184902Srwatson#define AUE_SEMUNLINK 43034 433184902Srwatson#define AUE_SHMOPEN 43035 434184902Srwatson#define AUE_SHMUNLINK 43036 435184902Srwatson#define AUE_LOADSHFILE 43037 /* Darwin-specific. */ 436184902Srwatson#define AUE_RESETSHFILE 43038 /* Darwin-specific. */ 437184902Srwatson#define AUE_NEWSYSTEMSHREG 43039 /* Darwin-specific. */ 438184902Srwatson#define AUE_PTHREADKILL 43040 /* Darwin-specific. */ 439184902Srwatson#define AUE_PTHREADSIGMASK 43041 /* Darwin-specific. */ 440184902Srwatson#define AUE_AUDITCTL 43042 441184902Srwatson#define AUE_RFORK 43043 442184902Srwatson#define AUE_LCHMOD 43044 443184902Srwatson#define AUE_SWAPOFF 43045 444184902Srwatson#define AUE_INITPROCESS 43046 /* Darwin-specific. */ 445184902Srwatson#define AUE_MAPFD 43047 /* Darwin-specific. */ 446184902Srwatson#define AUE_TASKFORPID 43048 /* Darwin-specific. */ 447184902Srwatson#define AUE_PIDFORTASK 43049 /* Darwin-specific. */ 448184902Srwatson#define AUE_SYSCTL_NONADMIN 43050 449184902Srwatson#define AUE_COPYFILE 43051 /* Darwin-specific. */ 450184902Srwatson 451184902Srwatson/* 452184902Srwatson * Events added to OpenBSM for FreeBSD and Linux; may also be used by Darwin 453184902Srwatson * in the future. 454184902Srwatson */ 455184902Srwatson#define AUE_LUTIMES 43052 456184902Srwatson#define AUE_LCHFLAGS 43053 /* FreeBSD-specific. */ 457184902Srwatson#define AUE_SENDFILE 43054 /* BSD/Linux-specific. */ 458184902Srwatson#define AUE_USELIB 43055 /* Linux-specific. */ 459184902Srwatson#define AUE_GETRESUID 43056 460184902Srwatson#define AUE_SETRESUID 43057 461184902Srwatson#define AUE_GETRESGID 43058 462184902Srwatson#define AUE_SETRESGID 43059 463184902Srwatson#define AUE_WAIT4 43060 /* FreeBSD-specific. */ 464184902Srwatson#define AUE_LGETFH 43061 /* FreeBSD-specific. */ 465184902Srwatson#define AUE_FHSTATFS 43062 /* FreeBSD-specific. */ 466184902Srwatson#define AUE_FHOPEN 43063 /* FreeBSD-specific. */ 467184902Srwatson#define AUE_FHSTAT 43064 /* FreeBSD-specific. */ 468184902Srwatson#define AUE_JAIL 43065 /* FreeBSD-specific. */ 469184902Srwatson#define AUE_EACCESS 43066 /* FreeBSD-specific. */ 470184902Srwatson#define AUE_KQUEUE 43067 /* FreeBSD-specific. */ 471184902Srwatson#define AUE_KEVENT 43068 /* FreeBSD-specific. */ 472184902Srwatson#define AUE_FSYNC 43069 473184902Srwatson#define AUE_NMOUNT 43070 /* FreeBSD-specific. */ 474184902Srwatson#define AUE_BDFLUSH 43071 /* Linux-specific. */ 475184902Srwatson#define AUE_SETFSUID 43072 /* Linux-specific. */ 476184902Srwatson#define AUE_SETFSGID 43073 /* Linux-specific. */ 477184902Srwatson#define AUE_PERSONALITY 43074 /* Linux-specific. */ 478184902Srwatson#define AUE_SCHED_GETSCHEDULER 43075 /* POSIX.1b. */ 479184902Srwatson#define AUE_SCHED_SETSCHEDULER 43076 /* POSIX.1b. */ 480184902Srwatson#define AUE_PRCTL 43077 /* Linux-specific. */ 481184902Srwatson#define AUE_GETCWD 43078 /* FreeBSD/Linux-specific. */ 482184902Srwatson#define AUE_CAPGET 43079 /* Linux-specific. */ 483184902Srwatson#define AUE_CAPSET 43080 /* Linux-specific. */ 484184902Srwatson#define AUE_PIVOT_ROOT 43081 /* Linux-specific. */ 485184902Srwatson#define AUE_RTPRIO 43082 /* FreeBSD-specific. */ 486184902Srwatson#define AUE_SCHED_GETPARAM 43083 /* POSIX.1b. */ 487184902Srwatson#define AUE_SCHED_SETPARAM 43084 /* POSIX.1b. */ 488184902Srwatson#define AUE_SCHED_GET_PRIORITY_MAX 43085 /* POSIX.1b. */ 489184902Srwatson#define AUE_SCHED_GET_PRIORITY_MIN 43086 /* POSIX.1b. */ 490184902Srwatson#define AUE_SCHED_RR_GET_INTERVAL 43087 /* POSIX.1b. */ 491184902Srwatson#define AUE_ACL_GET_FILE 43088 /* FreeBSD. */ 492184902Srwatson#define AUE_ACL_SET_FILE 43089 /* FreeBSD. */ 493184902Srwatson#define AUE_ACL_GET_FD 43090 /* FreeBSD. */ 494184902Srwatson#define AUE_ACL_SET_FD 43091 /* FreeBSD. */ 495184902Srwatson#define AUE_ACL_DELETE_FILE 43092 /* FreeBSD. */ 496184902Srwatson#define AUE_ACL_DELETE_FD 43093 /* FreeBSD. */ 497184902Srwatson#define AUE_ACL_CHECK_FILE 43094 /* FreeBSD. */ 498184902Srwatson#define AUE_ACL_CHECK_FD 43095 /* FreeBSD. */ 499184902Srwatson#define AUE_ACL_GET_LINK 43096 /* FreeBSD. */ 500184902Srwatson#define AUE_ACL_SET_LINK 43097 /* FreeBSD. */ 501184902Srwatson#define AUE_ACL_DELETE_LINK 43098 /* FreeBSD. */ 502184902Srwatson#define AUE_ACL_CHECK_LINK 43099 /* FreeBSD. */ 503184902Srwatson#define AUE_SYSARCH 43100 /* FreeBSD. */ 504184902Srwatson#define AUE_EXTATTRCTL 43101 /* FreeBSD. */ 505184902Srwatson#define AUE_EXTATTR_GET_FILE 43102 /* FreeBSD. */ 506184902Srwatson#define AUE_EXTATTR_SET_FILE 43103 /* FreeBSD. */ 507184902Srwatson#define AUE_EXTATTR_LIST_FILE 43104 /* FreeBSD. */ 508184902Srwatson#define AUE_EXTATTR_DELETE_FILE 43105 /* FreeBSD. */ 509184902Srwatson#define AUE_EXTATTR_GET_FD 43106 /* FreeBSD. */ 510184902Srwatson#define AUE_EXTATTR_SET_FD 43107 /* FreeBSD. */ 511184902Srwatson#define AUE_EXTATTR_LIST_FD 43108 /* FreeBSD. */ 512184902Srwatson#define AUE_EXTATTR_DELETE_FD 43109 /* FreeBSD. */ 513184902Srwatson#define AUE_EXTATTR_GET_LINK 43110 /* FreeBSD. */ 514184902Srwatson#define AUE_EXTATTR_SET_LINK 43111 /* FreeBSD. */ 515184902Srwatson#define AUE_EXTATTR_LIST_LINK 43112 /* FreeBSD. */ 516184902Srwatson#define AUE_EXTATTR_DELETE_LINK 43113 /* FreeBSD. */ 517184902Srwatson#define AUE_KENV 43114 /* FreeBSD. */ 518184902Srwatson#define AUE_JAIL_ATTACH 43115 /* FreeBSD. */ 519184902Srwatson#define AUE_SYSCTL_WRITE 43116 /* FreeBSD. */ 520184902Srwatson#define AUE_IOPERM 43117 /* Linux. */ 521184902Srwatson#define AUE_READDIR 43118 /* Linux. */ 522184902Srwatson#define AUE_IOPL 43119 /* Linux. */ 523184902Srwatson#define AUE_VM86 43120 /* Linux. */ 524184902Srwatson#define AUE_MAC_GET_PROC 43121 /* FreeBSD/Darwin. */ 525184902Srwatson#define AUE_MAC_SET_PROC 43122 /* FreeBSD/Darwin. */ 526184902Srwatson#define AUE_MAC_GET_FD 43123 /* FreeBSD/Darwin. */ 527184902Srwatson#define AUE_MAC_GET_FILE 43124 /* FreeBSD/Darwin. */ 528184902Srwatson#define AUE_MAC_SET_FD 43125 /* FreeBSD/Darwin. */ 529184902Srwatson#define AUE_MAC_SET_FILE 43126 /* FreeBSD/Darwin. */ 530184902Srwatson#define AUE_MAC_SYSCALL 43127 /* FreeBSD. */ 531184902Srwatson#define AUE_MAC_GET_PID 43128 /* FreeBSD/Darwin. */ 532184902Srwatson#define AUE_MAC_GET_LINK 43129 /* FreeBSD/Darwin. */ 533184902Srwatson#define AUE_MAC_SET_LINK 43130 /* FreeBSD/Darwin. */ 534184902Srwatson#define AUE_MAC_EXECVE 43131 /* FreeBSD/Darwin. */ 535184902Srwatson#define AUE_GETPATH_FROMFD 43132 /* FreeBSD. */ 536184902Srwatson#define AUE_GETPATH_FROMADDR 43133 /* FreeBSD. */ 537184902Srwatson#define AUE_MQ_OPEN 43134 /* FreeBSD. */ 538184902Srwatson#define AUE_MQ_SETATTR 43135 /* FreeBSD. */ 539184902Srwatson#define AUE_MQ_TIMEDRECEIVE 43136 /* FreeBSD. */ 540184902Srwatson#define AUE_MQ_TIMEDSEND 43137 /* FreeBSD. */ 541184902Srwatson#define AUE_MQ_NOTIFY 43138 /* FreeBSD. */ 542184902Srwatson#define AUE_MQ_UNLINK 43139 /* FreeBSD. */ 543184902Srwatson#define AUE_LISTEN 43140 /* FreeBSD/Darwin/Linux. */ 544184902Srwatson#define AUE_MLOCKALL 43141 /* FreeBSD. */ 545184902Srwatson#define AUE_MUNLOCKALL 43142 /* FreeBSD. */ 546184902Srwatson#define AUE_CLOSEFROM 43143 /* FreeBSD. */ 547184902Srwatson#define AUE_FEXECVE 43144 /* FreeBSD. */ 548184902Srwatson#define AUE_FACCESSAT 43145 /* FreeBSD. */ 549184902Srwatson#define AUE_FCHMODAT 43146 /* FreeBSD. */ 550184902Srwatson#define AUE_LINKAT 43147 /* FreeBSD. */ 551184902Srwatson#define AUE_MKDIRAT 43148 /* FreeBSD. */ 552184902Srwatson#define AUE_MKFIFOAT 43149 /* FreeBSD. */ 553184902Srwatson#define AUE_MKNODAT 43150 /* FreeBSD. */ 554184902Srwatson#define AUE_READLINKAT 43151 /* FreeBSD. */ 555184902Srwatson#define AUE_SYMLINKAT 43152 /* FreeBSD. */ 556184902Srwatson#define AUE_MAC_GETFSSTAT 43153 /* Darwin. */ 557184902Srwatson#define AUE_MAC_GET_MOUNT 43154 /* Darwin. */ 558184902Srwatson#define AUE_MAC_GET_LCID 43155 /* Darwin. */ 559184902Srwatson#define AUE_MAC_GET_LCTX 43156 /* Darwin. */ 560184902Srwatson#define AUE_MAC_SET_LCTX 43157 /* Darwin. */ 561184902Srwatson#define AUE_MAC_MOUNT 43158 /* Darwin. */ 562184902Srwatson#define AUE_GETLCID 43159 /* Darwin. */ 563184902Srwatson#define AUE_SETLCID 43160 /* Darwin. */ 564184902Srwatson#define AUE_TASKNAMEFORPID 43161 /* Darwin. */ 565184902Srwatson#define AUE_ACCESS_EXTENDED 43162 /* Darwin. */ 566184902Srwatson#define AUE_CHMOD_EXTENDED 43163 /* Darwin. */ 567184902Srwatson#define AUE_FCHMOD_EXTENDED 43164 /* Darwin. */ 568186647Srwatson#define AUE_FSTAT_EXTENDED 43165 /* Darwin. */ 569184902Srwatson#define AUE_LSTAT_EXTENDED 43166 /* Darwin. */ 570184902Srwatson#define AUE_MKDIR_EXTENDED 43167 /* Darwin. */ 571184902Srwatson#define AUE_MKFIFO_EXTENDED 43168 /* Darwin. */ 572184902Srwatson#define AUE_OPEN_EXTENDED 43169 /* Darwin. */ 573184902Srwatson#define AUE_OPEN_EXTENDED_R 43170 /* Darwin. */ 574184902Srwatson#define AUE_OPEN_EXTENDED_RC 43171 /* Darwin. */ 575184902Srwatson#define AUE_OPEN_EXTENDED_RT 43172 /* Darwin. */ 576184902Srwatson#define AUE_OPEN_EXTENDED_RTC 43173 /* Darwin. */ 577184902Srwatson#define AUE_OPEN_EXTENDED_W 43174 /* Darwin. */ 578184902Srwatson#define AUE_OPEN_EXTENDED_WC 43175 /* Darwin. */ 579184902Srwatson#define AUE_OPEN_EXTENDED_WT 43176 /* Darwin. */ 580184902Srwatson#define AUE_OPEN_EXTENDED_WTC 43177 /* Darwin. */ 581184902Srwatson#define AUE_OPEN_EXTENDED_RW 43178 /* Darwin. */ 582184902Srwatson#define AUE_OPEN_EXTENDED_RWC 43179 /* Darwin. */ 583184902Srwatson#define AUE_OPEN_EXTENDED_RWT 43180 /* Darwin. */ 584184902Srwatson#define AUE_OPEN_EXTENDED_RWTC 43181 /* Darwin. */ 585184902Srwatson#define AUE_STAT_EXTENDED 43182 /* Darwin. */ 586184902Srwatson#define AUE_UMASK_EXTENDED 43183 /* Darwin. */ 587184902Srwatson#define AUE_OPENAT 43184 /* FreeBSD. */ 588184902Srwatson#define AUE_POSIX_OPENPT 43185 /* FreeBSD. */ 589184902Srwatson#define AUE_CAP_NEW 43186 /* TrustedBSD. */ 590184902Srwatson#define AUE_CAP_GETRIGHTS 43187 /* TrustedBSD. */ 591184902Srwatson#define AUE_CAP_ENTER 43188 /* TrustedBSD. */ 592184902Srwatson#define AUE_CAP_GETMODE 43189 /* TrustedBSD. */ 593186647Srwatson#define AUE_POSIX_SPAWN 43190 /* Darwin. */ 594186647Srwatson#define AUE_FSGETPATH 43191 /* Darwin. */ 595189279Srwatson#define AUE_PREAD 43192 /* Darwin/FreeBSD. */ 596189279Srwatson#define AUE_PWRITE 43193 /* Darwin/FreeBSD. */ 597191273Srwatson#define AUE_FSCTL 43194 /* Darwin. */ 598191273Srwatson#define AUE_FFSCTL 43195 /* Darwin. */ 599195740Srwatson#define AUE_LPATHCONF 43196 /* FreeBSD. */ 600243750Srwatson#define AUE_PDFORK 43197 /* FreeBSD. */ 601243750Srwatson#define AUE_PDKILL 43198 /* FreeBSD. */ 602243750Srwatson#define AUE_PDGETPID 43199 /* FreeBSD. */ 603243750Srwatson#define AUE_PDWAIT 43200 /* FreeBSD. */ 604244265Srwatson#define AUE_WAIT6 43201 /* FreeBSD. */ 605184902Srwatson 606184902Srwatson/* 607184902Srwatson * Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the 608184902Srwatson * normal Solaris BSM identifiers. _O_ refers to it being an old, or compat 609184902Srwatson * interface. In most cases, Darwin has never implemented these system calls 610184902Srwatson * but picked up the fields in their system call table from their FreeBSD 611184902Srwatson * import. Happily, these have different names than the AUE_O* definitions 612184902Srwatson * in Solaris BSM. 613184902Srwatson */ 614184902Srwatson#define AUE_O_CREAT AUE_OPEN_RWTC /* Darwin */ 615184902Srwatson#define AUE_O_EXECVE AUE_NULL /* Darwin */ 616184902Srwatson#define AUE_O_SBREAK AUE_NULL /* Darwin */ 617184902Srwatson#define AUE_O_LSEEK AUE_NULL /* Darwin */ 618184902Srwatson#define AUE_O_MOUNT AUE_NULL /* Darwin */ 619184902Srwatson#define AUE_O_UMOUNT AUE_NULL /* Darwin */ 620184902Srwatson#define AUE_O_STAT AUE_STAT /* Darwin */ 621184902Srwatson#define AUE_O_LSTAT AUE_LSTAT /* Darwin */ 622184902Srwatson#define AUE_O_FSTAT AUE_FSTAT /* Darwin */ 623184902Srwatson#define AUE_O_GETPAGESIZE AUE_NULL /* Darwin */ 624184902Srwatson#define AUE_O_VREAD AUE_NULL /* Darwin */ 625184902Srwatson#define AUE_O_VWRITE AUE_NULL /* Darwin */ 626184902Srwatson#define AUE_O_MMAP AUE_MMAP /* Darwin */ 627184902Srwatson#define AUE_O_VADVISE AUE_NULL /* Darwin */ 628184902Srwatson#define AUE_O_VHANGUP AUE_NULL /* Darwin */ 629184902Srwatson#define AUE_O_VLIMIT AUE_NULL /* Darwin */ 630184902Srwatson#define AUE_O_WAIT AUE_NULL /* Darwin */ 631184902Srwatson#define AUE_O_GETHOSTNAME AUE_NULL /* Darwin */ 632184902Srwatson#define AUE_O_SETHOSTNAME AUE_SYSCTL /* Darwin */ 633184902Srwatson#define AUE_O_GETDOPT AUE_NULL /* Darwin */ 634184902Srwatson#define AUE_O_SETDOPT AUE_NULL /* Darwin */ 635184902Srwatson#define AUE_O_ACCEPT AUE_NULL /* Darwin */ 636184902Srwatson#define AUE_O_SEND AUE_SENDMSG /* Darwin */ 637184902Srwatson#define AUE_O_RECV AUE_RECVMSG /* Darwin */ 638184902Srwatson#define AUE_O_VTIMES AUE_NULL /* Darwin */ 639184902Srwatson#define AUE_O_SIGVEC AUE_NULL /* Darwin */ 640184902Srwatson#define AUE_O_SIGBLOCK AUE_NULL /* Darwin */ 641184902Srwatson#define AUE_O_SIGSETMASK AUE_NULL /* Darwin */ 642184902Srwatson#define AUE_O_SIGSTACK AUE_NULL /* Darwin */ 643184902Srwatson#define AUE_O_RECVMSG AUE_RECVMSG /* Darwin */ 644184902Srwatson#define AUE_O_SENDMSG AUE_SENDMSG /* Darwin */ 645184902Srwatson#define AUE_O_VTRACE AUE_NULL /* Darwin */ 646184902Srwatson#define AUE_O_RESUBA AUE_NULL /* Darwin */ 647184902Srwatson#define AUE_O_RECVFROM AUE_RECVFROM /* Darwin */ 648184902Srwatson#define AUE_O_SETREUID AUE_SETREUID /* Darwin */ 649184902Srwatson#define AUE_O_SETREGID AUE_SETREGID /* Darwin */ 650184902Srwatson#define AUE_O_GETDIRENTRIES AUE_GETDIRENTRIES /* Darwin */ 651184902Srwatson#define AUE_O_TRUNCATE AUE_TRUNCATE /* Darwin */ 652184902Srwatson#define AUE_O_FTRUNCATE AUE_FTRUNCATE /* Darwin */ 653184902Srwatson#define AUE_O_GETPEERNAME AUE_NULL /* Darwin */ 654184902Srwatson#define AUE_O_GETHOSTID AUE_NULL /* Darwin */ 655184902Srwatson#define AUE_O_SETHOSTID AUE_NULL /* Darwin */ 656184902Srwatson#define AUE_O_GETRLIMIT AUE_NULL /* Darwin */ 657184902Srwatson#define AUE_O_SETRLIMIT AUE_SETRLIMIT /* Darwin */ 658184902Srwatson#define AUE_O_KILLPG AUE_KILL /* Darwin */ 659184902Srwatson#define AUE_O_SETQUOTA AUE_NULL /* Darwin */ 660184902Srwatson#define AUE_O_QUOTA AUE_NULL /* Darwin */ 661184902Srwatson#define AUE_O_GETSOCKNAME AUE_NULL /* Darwin */ 662184902Srwatson#define AUE_O_GETDIREENTRIES AUE_GETDIREENTRIES /* Darwin */ 663184902Srwatson#define AUE_O_ASYNCDAEMON AUE_NULL /* Darwin */ 664184902Srwatson#define AUE_O_GETDOMAINNAME AUE_NULL /* Darwin */ 665184902Srwatson#define AUE_O_SETDOMAINNAME AUE_SYSCTL /* Darwin */ 666184902Srwatson#define AUE_O_PCFS_MOUNT AUE_NULL /* Darwin */ 667184902Srwatson#define AUE_O_EXPORTFS AUE_NULL /* Darwin */ 668184902Srwatson#define AUE_O_USTATE AUE_NULL /* Darwin */ 669184902Srwatson#define AUE_O_WAIT3 AUE_NULL /* Darwin */ 670184902Srwatson#define AUE_O_RPAUSE AUE_NULL /* Darwin */ 671184902Srwatson#define AUE_O_GETDENTS AUE_NULL /* Darwin */ 672184902Srwatson 673184902Srwatson/* 674184902Srwatson * Possible desired future values based on review of BSD/Darwin system calls. 675184902Srwatson */ 676186647Srwatson#define AUE_ATGETMSG AUE_NULL 677186647Srwatson#define AUE_ATPUTMSG AUE_NULL 678186647Srwatson#define AUE_ATSOCKET AUE_NULL 679186647Srwatson#define AUE_ATPGETREQ AUE_NULL 680186647Srwatson#define AUE_ATPGETRSP AUE_NULL 681186647Srwatson#define AUE_ATPSNDREQ AUE_NULL 682186647Srwatson#define AUE_ATPSNDRSP AUE_NULL 683186647Srwatson#define AUE_BSDTHREADCREATE AUE_NULL 684186647Srwatson#define AUE_BSDTHREADTERMINATE AUE_NULL 685186647Srwatson#define AUE_BSDTHREADREGISTER AUE_NULL 686186647Srwatson#define AUE_CHUD AUE_NULL 687186647Srwatson#define AUE_CSOPS AUE_NULL 688184902Srwatson#define AUE_DUP AUE_NULL 689186647Srwatson#define AUE_FDATASYNC AUE_NULL 690186647Srwatson#define AUE_FGETATTRLIST AUE_NULL 691186647Srwatson#define AUE_FGETXATTR AUE_NULL 692186647Srwatson#define AUE_FLISTXATTR AUE_NULL 693186647Srwatson#define AUE_FREMOVEXATTR AUE_NULL 694186647Srwatson#define AUE_FSETATTRLIST AUE_NULL 695186647Srwatson#define AUE_FSETXATTR AUE_NULL 696186647Srwatson#define AUE_FSTATFS64 AUE_NULL 697184902Srwatson#define AUE_FSTATV AUE_NULL 698186647Srwatson#define AUE_FSTAT64 AUE_NULL 699189279Srwatson#define AUE_FSTAT64_EXTENDED AUE_NULL 700184902Srwatson#define AUE_GCCONTROL AUE_NULL 701186647Srwatson#define AUE_GETDIRENTRIES64 AUE_NULL 702184902Srwatson#define AUE_GETDTABLESIZE AUE_NULL 703184902Srwatson#define AUE_GETEGID AUE_NULL 704184902Srwatson#define AUE_GETEUID AUE_NULL 705186647Srwatson#define AUE_GETFSSTAT64 AUE_NULL 706184902Srwatson#define AUE_GETGID AUE_NULL 707184902Srwatson#define AUE_GETGROUPS AUE_NULL 708184902Srwatson#define AUE_GETITIMER AUE_NULL 709184902Srwatson#define AUE_GETLOGIN AUE_NULL 710184902Srwatson#define AUE_GETPEERNAME AUE_NULL 711184902Srwatson#define AUE_GETPGID AUE_NULL 712184902Srwatson#define AUE_GETPGRP AUE_NULL 713184902Srwatson#define AUE_GETPID AUE_NULL 714184902Srwatson#define AUE_GETPPID AUE_NULL 715184902Srwatson#define AUE_GETPRIORITY AUE_NULL 716184902Srwatson#define AUE_GETRLIMIT AUE_NULL 717184902Srwatson#define AUE_GETRUSAGE AUE_NULL 718186647Srwatson#define AUE_GETSGROUPS AUE_NULL 719184902Srwatson#define AUE_GETSID AUE_NULL 720184902Srwatson#define AUE_GETSOCKNAME AUE_NULL 721184902Srwatson#define AUE_GETTIMEOFDAY AUE_NULL 722186647Srwatson#define AUE_GETTID AUE_NULL 723184902Srwatson#define AUE_GETUID AUE_NULL 724184902Srwatson#define AUE_GETSOCKOPT AUE_NULL 725186647Srwatson#define AUE_GETWGROUPS AUE_NULL 726186647Srwatson#define AUE_GETXATTR AUE_NULL 727186647Srwatson#define AUE_IDENTITYSVC AUE_NULL 728186647Srwatson#define AUE_INITGROUPS AUE_NULL 729186647Srwatson#define AUE_IOPOLICYSYS AUE_NULL 730184902Srwatson#define AUE_ISSETUGID AUE_NULL 731186647Srwatson#define AUE_LIOLISTIO AUE_NULL 732186647Srwatson#define AUE_LISTXATTR AUE_NULL 733184902Srwatson#define AUE_LSTATV AUE_NULL 734186647Srwatson#define AUE_LSTAT64 AUE_NULL 735189279Srwatson#define AUE_LSTAT64_EXTENDED AUE_NULL 736184902Srwatson#define AUE_MADVISE AUE_NULL 737184902Srwatson#define AUE_MINCORE AUE_NULL 738184902Srwatson#define AUE_MKCOMPLEX AUE_NULL 739184902Srwatson#define AUE_MODWATCH AUE_NULL 740184902Srwatson#define AUE_MSGCL AUE_NULL 741184902Srwatson#define AUE_MSYNC AUE_NULL 742184902Srwatson#define AUE_PREADV AUE_NULL 743186647Srwatson#define AUE_PROCINFO AUE_NULL 744186647Srwatson#define AUE_PTHREADCANCELED AUE_NULL 745186647Srwatson#define AUE_PTHREADCHDIR AUE_NULL 746186647Srwatson#define AUE_PTHREADCONDBROADCAST AUE_NULL 747186647Srwatson#define AUE_PTHREADCONDDESTORY AUE_NULL 748186647Srwatson#define AUE_PTHREADCONDINIT AUE_NULL 749186647Srwatson#define AUE_PTHREADCONDSIGNAL AUE_NULL 750186647Srwatson#define AUE_PTHREADCONDWAIT AUE_NULL 751186647Srwatson#define AUE_PTHREADFCHDIR AUE_NULL 752186647Srwatson#define AUE_PTHREADMARK AUE_NULL 753186647Srwatson#define AUE_PTHREADMUTEXDESTROY AUE_NULL 754186647Srwatson#define AUE_PTHREADMUTEXINIT AUE_NULL 755186647Srwatson#define AUE_PTHREADMUTEXTRYLOCK AUE_NULL 756186647Srwatson#define AUE_PTHREADMUTEXUNLOCK AUE_NULL 757184902Srwatson#define AUE_PWRITEV AUE_NULL 758186647Srwatson#define AUE_REMOVEXATTR AUE_NULL 759184902Srwatson#define AUE_SBRK AUE_NULL 760184902Srwatson#define AUE_SELECT AUE_NULL 761184902Srwatson#define AUE_SEMDESTROY AUE_NULL 762184902Srwatson#define AUE_SEMGETVALUE AUE_NULL 763184902Srwatson#define AUE_SEMINIT AUE_NULL 764184902Srwatson#define AUE_SEMPOST AUE_NULL 765184902Srwatson#define AUE_SEMTRYWAIT AUE_NULL 766184902Srwatson#define AUE_SEMWAIT AUE_NULL 767186647Srwatson#define AUE_SEMWAITSIGNAL AUE_NULL 768184902Srwatson#define AUE_SETITIMER AUE_NULL 769186647Srwatson#define AUE_SETSGROUPS AUE_NULL 770186647Srwatson#define AUE_SETTID AUE_NULL 771186647Srwatson#define AUE_SETTIDWITHPID AUE_NULL 772186647Srwatson#define AUE_SETWGROUPS AUE_NULL 773186647Srwatson#define AUE_SETXATTR AUE_NULL 774186647Srwatson#define AUE_SHAREDREGIONCHECK AUE_NULL 775186647Srwatson#define AUE_SHAREDREGIONMAP AUE_NULL 776184902Srwatson#define AUE_SIGACTION AUE_NULL 777184902Srwatson#define AUE_SIGALTSTACK AUE_NULL 778184902Srwatson#define AUE_SIGPENDING AUE_NULL 779184902Srwatson#define AUE_SIGPROCMASK AUE_NULL 780184902Srwatson#define AUE_SIGRETURN AUE_NULL 781184902Srwatson#define AUE_SIGSUSPEND AUE_NULL 782184902Srwatson#define AUE_SIGWAIT AUE_NULL 783184902Srwatson#define AUE_SSTK AUE_NULL 784186647Srwatson#define AUE_STACKSNAPSHOT AUE_NULL 785186647Srwatson#define AUE_STATFS64 AUE_NULL 786184902Srwatson#define AUE_STATV AUE_NULL 787186647Srwatson#define AUE_STAT64 AUE_NULL 788189279Srwatson#define AUE_STAT64_EXTENDED AUE_NULL 789184902Srwatson#define AUE_SYNC AUE_NULL 790184902Srwatson#define AUE_SYSCALL AUE_NULL 791184902Srwatson#define AUE_TABLE AUE_NULL 792186647Srwatson#define AUE_VMPRESSUREMONITOR AUE_NULL 793184902Srwatson#define AUE_WAITEVENT AUE_NULL 794186647Srwatson#define AUE_WAITID AUE_NULL 795184902Srwatson#define AUE_WATCHEVENT AUE_NULL 796186647Srwatson#define AUE_WORKQOPEN AUE_NULL 797186647Srwatson#define AUE_WORKQOPS AUE_NULL 798184902Srwatson 799184902Srwatson#endif /* !_BSM_AUDIT_KEVENTS_H_ */ 800