PERFORCE change 66481 for review
Wayne Salamon
wsalamon at FreeBSD.org
Sun Dec 5 19:25:30 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=66481
Change 66481 by wsalamon at rickenbacker on 2004/12/05 19:25:25
Fix makesyscalls to fill in the audit event for COMPAT and LIBCOMPAT
system calls; corresponding change to the system call table.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/kern/init_sysent.c#9 edit
.. //depot/projects/trustedbsd/audit3/sys/kern/makesyscalls.sh#3 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/kern/init_sysent.c#9 (text+ko) ====
@@ -37,7 +37,7 @@
{ SYF_MPSAFE | AS(open_args), (sy_call_t *)open, AUE_OPEN }, /* 5 = open */
{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_CLOSE }, /* 6 = close */
{ SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4, AUE_NULL }, /* 7 = wait4 */
- { compat(SYF_MPSAFE | AS(ocreat_args),creat) }, /* 8 = old creat */
+ { compat(SYF_MPSAFE | AS(ocreat_args),creat), AUE_O_CREAT }, /* 8 = old creat */
{ SYF_MPSAFE | AS(link_args), (sy_call_t *)link, AUE_LINK }, /* 9 = link */
{ SYF_MPSAFE | AS(unlink_args), (sy_call_t *)unlink, AUE_UNLINK }, /* 10 = unlink */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 11 = obsolete execv */
@@ -47,8 +47,8 @@
{ AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD }, /* 15 = chmod */
{ AS(chown_args), (sy_call_t *)chown, AUE_CHOWN }, /* 16 = chown */
{ SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak, AUE_NULL }, /* 17 = break */
- { compat4(AS(freebsd4_getfsstat_args),getfsstat) }, /* 18 = old getfsstat */
- { compat(AS(olseek_args),lseek) }, /* 19 = old lseek */
+ { compat4(AS(freebsd4_getfsstat_args),getfsstat), AUE_GETFSSTAT }, /* 18 = old getfsstat */
+ { compat(AS(olseek_args),lseek), AUE_LSEEK }, /* 19 = old lseek */
{ SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_GETPID }, /* 20 = getpid */
{ AS(mount_args), (sy_call_t *)mount, AUE_MOUNT }, /* 21 = mount */
{ AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT }, /* 22 = unmount */
@@ -67,21 +67,21 @@
{ AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS }, /* 35 = fchflags */
{ 0, (sy_call_t *)sync, AUE_SYNC }, /* 36 = sync */
{ SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill, AUE_KILL }, /* 37 = kill */
- { compat(AS(ostat_args),stat) }, /* 38 = old stat */
+ { compat(AS(ostat_args),stat), AUE_STAT }, /* 38 = old stat */
{ SYF_MPSAFE | 0, (sy_call_t *)getppid, AUE_GETPPID }, /* 39 = getppid */
- { compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
+ { compat(AS(olstat_args),lstat), AUE_LSTAT }, /* 40 = old lstat */
{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_DUP }, /* 41 = dup */
{ SYF_MPSAFE | 0, (sy_call_t *)pipe, AUE_PIPE }, /* 42 = pipe */
{ SYF_MPSAFE | 0, (sy_call_t *)getegid, AUE_GETEGID }, /* 43 = getegid */
{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil, AUE_PROFILE }, /* 44 = profil */
{ SYF_MPSAFE | AS(ktrace_args), (sy_call_t *)ktrace, AUE_KTRACE }, /* 45 = ktrace */
- { compat(SYF_MPSAFE | AS(osigaction_args),sigaction) }, /* 46 = old sigaction */
+ { compat(SYF_MPSAFE | AS(osigaction_args),sigaction), AUE_SIGACTION }, /* 46 = old sigaction */
{ SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_GETGID }, /* 47 = getgid */
- { compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */
+ { compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask), AUE_SIGPROCMASK }, /* 48 = old sigprocmask */
{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin, AUE_GETLOGIN }, /* 49 = getlogin */
{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin, AUE_SETLOGIN }, /* 50 = setlogin */
{ SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct, AUE_ACCT }, /* 51 = acct */
- { compat(SYF_MPSAFE | 0,sigpending) }, /* 52 = old sigpending */
+ { compat(SYF_MPSAFE | 0,sigpending), AUE_SIGPENDING }, /* 52 = old sigpending */
{ SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack, AUE_SIGPENDING }, /* 53 = sigaltstack */
{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl, AUE_IOCTL }, /* 54 = ioctl */
{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot, AUE_REBOOT }, /* 55 = reboot */
@@ -91,16 +91,16 @@
{ SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve, AUE_EXECVE }, /* 59 = execve */
{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_UMASK }, /* 60 = umask */
{ AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT }, /* 61 = chroot */
- { compat(SYF_MPSAFE | AS(ofstat_args),fstat) }, /* 62 = old fstat */
- { compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */
- { compat(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */
+ { compat(SYF_MPSAFE | AS(ofstat_args),fstat), AUE_FSTAT }, /* 62 = old fstat */
+ { compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo), AUE_NULL }, /* 63 = old getkerninfo */
+ { compat(SYF_MPSAFE | 0,getpagesize), AUE_O_GETPAGESIZE }, /* 64 = old getpagesize */
{ SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_MSYNC }, /* 65 = msync */
{ SYF_MPSAFE | 0, (sy_call_t *)vfork, AUE_VFORK }, /* 66 = vfork */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 67 = obsolete vread */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 68 = obsolete vwrite */
{ SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk, AUE_SBRK }, /* 69 = sbrk */
{ SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk, AUE_SSTK }, /* 70 = sstk */
- { compat(SYF_MPSAFE | AS(ommap_args),mmap) }, /* 71 = old mmap */
+ { compat(SYF_MPSAFE | AS(ommap_args),mmap), AUE_MMAP }, /* 71 = old mmap */
{ SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_O_VADVISE }, /* 72 = vadvise */
{ SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap, AUE_MUNMAP }, /* 73 = munmap */
{ SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect, AUE_MPROTECT }, /* 74 = mprotect */
@@ -113,11 +113,11 @@
{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_GETPGRP }, /* 81 = getpgrp */
{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP }, /* 82 = setpgid */
{ SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer, AUE_SETITIMER }, /* 83 = setitimer */
- { compat(SYF_MPSAFE | 0,wait) }, /* 84 = old wait */
+ { compat(SYF_MPSAFE | 0,wait), AUE_O_WAIT }, /* 84 = old wait */
{ SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON }, /* 85 = swapon */
{ SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer, AUE_GETITIMER }, /* 86 = getitimer */
- { compat(SYF_MPSAFE | AS(gethostname_args),gethostname) }, /* 87 = old gethostname */
- { compat(SYF_MPSAFE | AS(sethostname_args),sethostname) }, /* 88 = old sethostname */
+ { compat(SYF_MPSAFE | AS(gethostname_args),gethostname), AUE_O_GETHOSTNAME }, /* 87 = old gethostname */
+ { compat(SYF_MPSAFE | AS(sethostname_args),sethostname), AUE_O_SETHOSTNAME }, /* 88 = old sethostname */
{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize, AUE_GETDTABLESIZE }, /* 89 = getdtablesize */
{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2 }, /* 90 = dup2 */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 91 = getdopt */
@@ -128,22 +128,22 @@
{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY }, /* 96 = setpriority */
{ SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket, AUE_SOCKET }, /* 97 = socket */
{ SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect, AUE_CONNECT }, /* 98 = connect */
- { compat(SYF_MPSAFE | AS(accept_args),accept) }, /* 99 = old accept */
+ { compat(SYF_MPSAFE | AS(accept_args),accept), AUE_ACCEPT }, /* 99 = old accept */
{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORITY }, /* 100 = getpriority */
- { compat(SYF_MPSAFE | AS(osend_args),send) }, /* 101 = old send */
- { compat(SYF_MPSAFE | AS(orecv_args),recv) }, /* 102 = old recv */
- { compat(SYF_MPSAFE | AS(osigreturn_args),sigreturn) }, /* 103 = old sigreturn */
+ { compat(SYF_MPSAFE | AS(osend_args),send), AUE_O_SEND }, /* 101 = old send */
+ { compat(SYF_MPSAFE | AS(orecv_args),recv), AUE_O_RECV }, /* 102 = old recv */
+ { compat(SYF_MPSAFE | AS(osigreturn_args),sigreturn), AUE_SIGRETURN }, /* 103 = old sigreturn */
{ SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind, AUE_BIND }, /* 104 = bind */
{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT }, /* 105 = setsockopt */
{ SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen, AUE_LISTEN }, /* 106 = listen */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 107 = obsolete vtimes */
- { compat(SYF_MPSAFE | AS(osigvec_args),sigvec) }, /* 108 = old sigvec */
- { compat(SYF_MPSAFE | AS(osigblock_args),sigblock) }, /* 109 = old sigblock */
- { compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */
- { compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */
- { compat(SYF_MPSAFE | AS(osigstack_args),sigstack) }, /* 112 = old sigstack */
- { compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */
- { compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */
+ { compat(SYF_MPSAFE | AS(osigvec_args),sigvec), AUE_O_SIGVEC }, /* 108 = old sigvec */
+ { compat(SYF_MPSAFE | AS(osigblock_args),sigblock), AUE_O_SIGBLOCK }, /* 109 = old sigblock */
+ { compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask), AUE_O_SIGSETMASK }, /* 110 = old sigsetmask */
+ { compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend), AUE_SIGSUSPEND }, /* 111 = old sigsuspend */
+ { compat(SYF_MPSAFE | AS(osigstack_args),sigstack), AUE_O_SIGSTACK }, /* 112 = old sigstack */
+ { compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg), AUE_O_RECVMSG }, /* 113 = old recvmsg */
+ { compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg), AUE_O_SENDMSG }, /* 114 = old sendmsg */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 115 = obsolete vtrace */
{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday, AUE_GETTIMEOFDAY }, /* 116 = gettimeofday */
{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage, AUE_GETRUSAGE }, /* 117 = getrusage */
@@ -154,12 +154,12 @@
{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday, AUE_SETTIMEOFDAY }, /* 122 = settimeofday */
{ AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN }, /* 123 = fchown */
{ AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD }, /* 124 = fchmod */
- { compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */
+ { compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom), AUE_RECVFROM }, /* 125 = old recvfrom */
{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_O_SETREUID }, /* 126 = setreuid */
{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_O_SETREGID }, /* 127 = setregid */
{ AS(rename_args), (sy_call_t *)rename, AUE_RENAME }, /* 128 = rename */
- { compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */
- { compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */
+ { compat(AS(otruncate_args),truncate), AUE_O_TRUNCATE }, /* 129 = old truncate */
+ { compat(AS(oftruncate_args),ftruncate), AUE_O_FTRUNCATE }, /* 130 = old ftruncate */
{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock, AUE_FLOCK }, /* 131 = flock */
{ AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO }, /* 132 = mkfifo */
{ SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto, AUE_SENDTO }, /* 133 = sendto */
@@ -170,24 +170,24 @@
{ AS(utimes_args), (sy_call_t *)utimes, AUE_UTIMES }, /* 138 = utimes */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 139 = obsolete 4.2 sigreturn */
{ SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime, AUE_ADJTIME }, /* 140 = adjtime */
- { compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */
- { compat(SYF_MPSAFE | 0,gethostid) }, /* 142 = old gethostid */
- { compat(SYF_MPSAFE | AS(osethostid_args),sethostid) }, /* 143 = old sethostid */
- { compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */
- { compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */
- { compat(SYF_MPSAFE | AS(okillpg_args),killpg) }, /* 146 = old killpg */
+ { compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername), AUE_O_GETPEERNAME }, /* 141 = old getpeername */
+ { compat(SYF_MPSAFE | 0,gethostid), AUE_O_GETHOSTID }, /* 142 = old gethostid */
+ { compat(SYF_MPSAFE | AS(osethostid_args),sethostid), AUE_O_SETHOSTID }, /* 143 = old sethostid */
+ { compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit), AUE_O_GETRLIMIT }, /* 144 = old getrlimit */
+ { compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit), AUE_O_SETRLIMIT }, /* 145 = old setrlimit */
+ { compat(SYF_MPSAFE | AS(okillpg_args),killpg), AUE_O_KILLPG }, /* 146 = old killpg */
{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_SETSID }, /* 147 = setsid */
{ AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL }, /* 148 = quotactl */
- { compat(SYF_MPSAFE | 0,quota) }, /* 149 = old quota */
- { compat(SYF_MPSAFE | AS(getsockname_args),getsockname) }, /* 150 = old getsockname */
+ { compat(SYF_MPSAFE | 0,quota), AUE_O_QUOTA }, /* 149 = old quota */
+ { compat(SYF_MPSAFE | AS(getsockname_args),getsockname), AUE_GETSOCKNAME }, /* 150 = old getsockname */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 151 = sem_lock */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 152 = sem_wakeup */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 153 = asyncdaemon */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 154 = nosys */
{ SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys, AUE_NULL }, /* 155 = nfssvc */
- { compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */
- { compat4(AS(freebsd4_statfs_args),statfs) }, /* 157 = old statfs */
- { compat4(AS(freebsd4_fstatfs_args),fstatfs) }, /* 158 = old fstatfs */
+ { compat(AS(ogetdirentries_args),getdirentries), AUE_O_GETDIRENTRIES }, /* 156 = old getdirentries */
+ { compat4(AS(freebsd4_statfs_args),statfs), AUE_STATFS }, /* 157 = old statfs */
+ { compat4(AS(freebsd4_fstatfs_args),fstatfs), AUE_FSTATFS }, /* 158 = old fstatfs */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 159 = nosys */
{ AS(lgetfh_args), (sy_call_t *)lgetfh, AUE_NULL }, /* 160 = lgetfh */
{ AS(getfh_args), (sy_call_t *)getfh, AUE_GETFH }, /* 161 = getfh */
@@ -326,7 +326,7 @@
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 294 = nosys */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 295 = nosys */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 296 = nosys */
- { compat4(AS(freebsd4_fhstatfs_args),fhstatfs) }, /* 297 = old fhstatfs */
+ { compat4(AS(freebsd4_fhstatfs_args),fhstatfs), AUE_NULL }, /* 297 = old fhstatfs */
{ AS(fhopen_args), (sy_call_t *)fhopen, AUE_NULL }, /* 298 = fhopen */
{ AS(fhstat_args), (sy_call_t *)fhstat, AUE_NULL }, /* 299 = fhstat */
{ SYF_MPSAFE | AS(modnext_args), (sy_call_t *)modnext, AUE_NULL }, /* 300 = modnext */
@@ -365,15 +365,15 @@
{ SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL }, /* 333 = sched_get_priority_min */
{ SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL }, /* 334 = sched_rr_get_interval */
{ SYF_MPSAFE | AS(utrace_args), (sy_call_t *)utrace, AUE_NULL }, /* 335 = utrace */
- { compat4(SYF_MPSAFE | AS(freebsd4_sendfile_args),sendfile) }, /* 336 = old sendfile */
+ { compat4(SYF_MPSAFE | AS(freebsd4_sendfile_args),sendfile), AUE_NULL }, /* 336 = old sendfile */
{ AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL }, /* 337 = kldsym */
{ SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail, AUE_NULL }, /* 338 = jail */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 339 = pioctl */
{ SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_SIGPROCMASK }, /* 340 = sigprocmask */
{ SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend, AUE_SIGSUSPEND }, /* 341 = sigsuspend */
- { compat4(SYF_MPSAFE | AS(freebsd4_sigaction_args),sigaction) }, /* 342 = old sigaction */
+ { compat4(SYF_MPSAFE | AS(freebsd4_sigaction_args),sigaction), AUE_SIGACTION }, /* 342 = old sigaction */
{ SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending, AUE_SIGPENDING }, /* 343 = sigpending */
- { compat4(SYF_MPSAFE | AS(freebsd4_sigreturn_args),sigreturn) }, /* 344 = old sigreturn */
+ { compat4(SYF_MPSAFE | AS(freebsd4_sigreturn_args),sigreturn), AUE_SIGRETURN }, /* 344 = old sigreturn */
{ SYF_MPSAFE | AS(sigtimedwait_args), (sy_call_t *)sigtimedwait, AUE_NULL }, /* 345 = sigtimedwait */
{ SYF_MPSAFE | AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo, AUE_NULL }, /* 346 = sigwaitinfo */
{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL }, /* 347 = __acl_get_file */
==== //depot/projects/trustedbsd/audit3/sys/kern/makesyscalls.sh#3 (text+ko) ====
@@ -401,10 +401,10 @@
argalias) > sysarg
printf("%s\t%s%s(struct thread *, struct %s *);\n",
rettype, prefix, funcname, argalias) > outdcl
- printf("\t{ %s(%s%s,%s) },",
- wrap, mpsafe, argssize, funcname) > sysent
+ printf("\t{ %s(%s%s,%s), %s },",
+ wrap, mpsafe, argssize, funcname, auditev) > sysent
align_sysent_comment(8 + 9 + length(mpsafe) + \
- length(argssize) + 1 + length(funcname) + 4)
+ length(argssize) + 1 + length(funcname) + length(auditev) + 4)
printf("/* %d = old %s */\n", syscall, funcalias) > sysent
printf("\t\"old.%s\",\t\t/* %d = old %s */\n",
funcalias, syscall, funcalias) > sysnames
@@ -417,10 +417,10 @@
ncompat++
parseline()
printf("%s\to%s();\n", rettype, funcname) > syscompatdcl
- printf("\t{ compat(%s%s,%s) },",
- mpsafe, argssize, funcname) > sysent
+ printf("\t{ compat(%s%s,%s), %s },",
+ mpsafe, argssize, funcname, auditev) > sysent
align_sysent_comment(8 + 9 + length(mpsafe) + \
- length(argssize) + 1 + length(funcname) + 4)
+ length(argssize) + 1 + length(funcname) + length(auditev) + 4)
printf("/* %d = old %s */\n", syscall, funcalias) > sysent
printf("\t\"old.%s\",\t\t/* %d = old %s */\n",
funcalias, syscall, funcalias) > sysnames
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list