Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern And now fix the actual syntax error. :(
details: https://anonhg.NetBSD.org/src/rev/71dc09f0ad6f
branches: trunk
changeset: 341952:71dc09f0ad6f
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Nov 30 23:27:27 2015 +0000
description:
And now fix the actual syntax error. :(
diffstat:
sys/kern/init_sysent.c | 4 +-
sys/kern/makesyscalls.sh | 4 +-
sys/kern/syscalls.c | 1079 +++++-
sys/kern/syscalls_autoload.c | 6 +-
sys/kern/systrace_args.c | 8270 +++++++++++++++++++++++++++++++++++++++++-
5 files changed, 9354 insertions(+), 9 deletions(-)
diffs (truncated from 9438 to 300 lines):
diff -r 8abe7b8ea6b3 -r 71dc09f0ad6f sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Mon Nov 30 23:25:54 2015 +0000
+++ b/sys/kern/init_sysent.c Mon Nov 30 23:27:27 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_sysent.c,v 1.302 2015/11/30 22:48:53 pgoyette Exp $ */
+/* $NetBSD: init_sysent.c,v 1.303 2015/11/30 23:27:27 pgoyette Exp $ */
/*
* System call switch table.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.302 2015/11/30 22:48:53 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.303 2015/11/30 23:27:27 pgoyette Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
diff -r 8abe7b8ea6b3 -r 71dc09f0ad6f sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh Mon Nov 30 23:25:54 2015 +0000
+++ b/sys/kern/makesyscalls.sh Mon Nov 30 23:27:27 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makesyscalls.sh,v 1.159 2015/11/30 23:25:54 pgoyette Exp $
+# $NetBSD: makesyscalls.sh,v 1.160 2015/11/30 23:27:27 pgoyette Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@@ -1150,7 +1150,7 @@
cat $sysprotos >> $sysarghdr
echo "#endif /* _${constprefix}SYSCALL_H_ */" >> $sysnumhdr
echo "#endif /* _${constprefix}SYSCALLARGS_H_ */" >> $sysarghdr
-printf("\t { 0, NULL }\n") >> $sysautoload
+printf "\t { 0, NULL }\n" >> $sysautoload
echo "};" >> $sysautoload
printf "\n#endif /* _RUMP_RUMP_SYSCALLS_H_ */\n" >> $rumpprotos
cat $sysdcl $sysent > $syssw
diff -r 8abe7b8ea6b3 -r 71dc09f0ad6f sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Mon Nov 30 23:25:54 2015 +0000
+++ b/sys/kern/syscalls.c Mon Nov 30 23:27:27 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscalls.c,v 1.292 2015/11/30 23:25:54 pgoyette Exp $ */
+/* $NetBSD: syscalls.c,v 1.293 2015/11/30 23:27:27 pgoyette Exp $ */
/*
* System call names.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.292 2015/11/30 23:25:54 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.293 2015/11/30 23:27:27 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
@@ -21,3 +21,1078 @@
#include <sys/mount.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
+#else /* _KERNEL_OPT */
+#include <sys/null.h>
+#endif /* _KERNEL_OPT */
+
+const char *const syscallnames[] = {
+ /* 0 */ "syscall",
+ /* 1 */ "exit",
+ /* 2 */ "fork",
+ /* 3 */ "read",
+ /* 4 */ "write",
+ /* 5 */ "open",
+ /* 6 */ "close",
+ /* 7 */ "compat_50_wait4",
+ /* 8 */ "compat_43_ocreat",
+ /* 9 */ "link",
+ /* 10 */ "unlink",
+ /* 11 */ "#11 (obsolete execv)",
+ /* 12 */ "chdir",
+ /* 13 */ "fchdir",
+ /* 14 */ "compat_50_mknod",
+ /* 15 */ "chmod",
+ /* 16 */ "chown",
+ /* 17 */ "break",
+ /* 18 */ "compat_20_getfsstat",
+ /* 19 */ "compat_43_olseek",
+ /* 20 */ "getpid",
+ /* 21 */ "compat_40_mount",
+ /* 22 */ "unmount",
+ /* 23 */ "setuid",
+ /* 24 */ "getuid",
+ /* 25 */ "geteuid",
+ /* 26 */ "ptrace",
+ /* 27 */ "recvmsg",
+ /* 28 */ "sendmsg",
+ /* 29 */ "recvfrom",
+ /* 30 */ "accept",
+ /* 31 */ "getpeername",
+ /* 32 */ "getsockname",
+ /* 33 */ "access",
+ /* 34 */ "chflags",
+ /* 35 */ "fchflags",
+ /* 36 */ "sync",
+ /* 37 */ "kill",
+ /* 38 */ "compat_43_stat43",
+ /* 39 */ "getppid",
+ /* 40 */ "compat_43_lstat43",
+ /* 41 */ "dup",
+ /* 42 */ "pipe",
+ /* 43 */ "getegid",
+ /* 44 */ "profil",
+ /* 45 */ "ktrace",
+ /* 46 */ "compat_13_sigaction13",
+ /* 47 */ "getgid",
+ /* 48 */ "compat_13_sigprocmask13",
+ /* 49 */ "__getlogin",
+ /* 50 */ "__setlogin",
+ /* 51 */ "acct",
+ /* 52 */ "compat_13_sigpending13",
+ /* 53 */ "compat_13_sigaltstack13",
+ /* 54 */ "ioctl",
+ /* 55 */ "compat_12_oreboot",
+ /* 56 */ "revoke",
+ /* 57 */ "symlink",
+ /* 58 */ "readlink",
+ /* 59 */ "execve",
+ /* 60 */ "umask",
+ /* 61 */ "chroot",
+ /* 62 */ "compat_43_fstat43",
+ /* 63 */ "compat_43_ogetkerninfo",
+ /* 64 */ "compat_43_ogetpagesize",
+ /* 65 */ "compat_12_msync",
+ /* 66 */ "vfork",
+ /* 67 */ "#67 (obsolete vread)",
+ /* 68 */ "#68 (obsolete vwrite)",
+ /* 69 */ "sbrk",
+ /* 70 */ "sstk",
+ /* 71 */ "compat_43_ommap",
+ /* 72 */ "vadvise",
+ /* 73 */ "munmap",
+ /* 74 */ "mprotect",
+ /* 75 */ "madvise",
+ /* 76 */ "#76 (obsolete vhangup)",
+ /* 77 */ "#77 (obsolete vlimit)",
+ /* 78 */ "mincore",
+ /* 79 */ "getgroups",
+ /* 80 */ "setgroups",
+ /* 81 */ "getpgrp",
+ /* 82 */ "setpgid",
+ /* 83 */ "compat_50_setitimer",
+ /* 84 */ "compat_43_owait",
+ /* 85 */ "compat_12_oswapon",
+ /* 86 */ "compat_50_getitimer",
+ /* 87 */ "compat_43_ogethostname",
+ /* 88 */ "compat_43_osethostname",
+ /* 89 */ "compat_43_ogetdtablesize",
+ /* 90 */ "dup2",
+ /* 91 */ "#91 (unimplemented getdopt)",
+ /* 92 */ "fcntl",
+ /* 93 */ "compat_50_select",
+ /* 94 */ "#94 (unimplemented setdopt)",
+ /* 95 */ "fsync",
+ /* 96 */ "setpriority",
+ /* 97 */ "compat_30_socket",
+ /* 98 */ "connect",
+ /* 99 */ "compat_43_oaccept",
+ /* 100 */ "getpriority",
+ /* 101 */ "compat_43_osend",
+ /* 102 */ "compat_43_orecv",
+ /* 103 */ "compat_13_sigreturn13",
+ /* 104 */ "bind",
+ /* 105 */ "setsockopt",
+ /* 106 */ "listen",
+ /* 107 */ "#107 (obsolete vtimes)",
+ /* 108 */ "compat_43_osigvec",
+ /* 109 */ "compat_43_osigblock",
+ /* 110 */ "compat_43_osigsetmask",
+ /* 111 */ "compat_13_sigsuspend13",
+ /* 112 */ "compat_43_osigstack",
+ /* 113 */ "compat_43_orecvmsg",
+ /* 114 */ "compat_43_osendmsg",
+ /* 115 */ "#115 (obsolete vtrace)",
+ /* 116 */ "compat_50_gettimeofday",
+ /* 117 */ "compat_50_getrusage",
+ /* 118 */ "getsockopt",
+ /* 119 */ "#119 (obsolete resuba)",
+ /* 120 */ "readv",
+ /* 121 */ "writev",
+ /* 122 */ "compat_50_settimeofday",
+ /* 123 */ "fchown",
+ /* 124 */ "fchmod",
+ /* 125 */ "compat_43_orecvfrom",
+ /* 126 */ "setreuid",
+ /* 127 */ "setregid",
+ /* 128 */ "rename",
+ /* 129 */ "compat_43_otruncate",
+ /* 130 */ "compat_43_oftruncate",
+ /* 131 */ "flock",
+ /* 132 */ "mkfifo",
+ /* 133 */ "sendto",
+ /* 134 */ "shutdown",
+ /* 135 */ "socketpair",
+ /* 136 */ "mkdir",
+ /* 137 */ "rmdir",
+ /* 138 */ "compat_50_utimes",
+ /* 139 */ "#139 (obsolete 4.2 sigreturn)",
+ /* 140 */ "compat_50_adjtime",
+ /* 141 */ "compat_43_ogetpeername",
+ /* 142 */ "compat_43_ogethostid",
+ /* 143 */ "compat_43_osethostid",
+ /* 144 */ "compat_43_ogetrlimit",
+ /* 145 */ "compat_43_osetrlimit",
+ /* 146 */ "compat_43_okillpg",
+ /* 147 */ "setsid",
+ /* 148 */ "compat_50_quotactl",
+ /* 149 */ "compat_43_oquota",
+ /* 150 */ "compat_43_ogetsockname",
+ /* 151 */ "#151 (unimplemented)",
+ /* 152 */ "#152 (unimplemented)",
+ /* 153 */ "#153 (unimplemented)",
+ /* 154 */ "#154 (unimplemented)",
+ /* 155 */ "nfssvc",
+ /* 156 */ "compat_43_ogetdirentries",
+ /* 157 */ "compat_20_statfs",
+ /* 158 */ "compat_20_fstatfs",
+ /* 159 */ "#159 (unimplemented)",
+ /* 160 */ "#160 (unimplemented)",
+ /* 161 */ "compat_30_getfh",
+ /* 162 */ "compat_09_ogetdomainname",
+ /* 163 */ "compat_09_osetdomainname",
+ /* 164 */ "compat_09_ouname",
+ /* 165 */ "sysarch",
+ /* 166 */ "#166 (unimplemented)",
+ /* 167 */ "#167 (unimplemented)",
+ /* 168 */ "#168 (unimplemented)",
+#if !defined(_LP64)
+ /* 169 */ "compat_10_osemsys",
+#else
+ /* 169 */ "#169 (excluded 1.0 semsys)",
+#endif
+#if !defined(_LP64)
+ /* 170 */ "compat_10_omsgsys",
+#else
+ /* 170 */ "#170 (excluded 1.0 msgsys)",
+#endif
+#if !defined(_LP64)
+ /* 171 */ "compat_10_oshmsys",
+#else
+ /* 171 */ "#171 (excluded 1.0 shmsys)",
+#endif
+ /* 172 */ "#172 (unimplemented)",
+ /* 173 */ "pread",
+ /* 174 */ "pwrite",
+ /* 175 */ "compat_30_ntp_gettime",
+#if defined(NTP) || !defined(_KERNEL_OPT)
+ /* 176 */ "ntp_adjtime",
+#else
+ /* 176 */ "#176 (excluded ntp_adjtime)",
+#endif
+ /* 177 */ "#177 (unimplemented)",
+ /* 178 */ "#178 (unimplemented)",
+ /* 179 */ "#179 (unimplemented)",
+ /* 180 */ "#180 (unimplemented)",
+ /* 181 */ "setgid",
+ /* 182 */ "setegid",
+ /* 183 */ "seteuid",
+ /* 184 */ "lfs_bmapv",
+ /* 185 */ "lfs_markv",
+ /* 186 */ "lfs_segclean",
+ /* 187 */ "compat_50_lfs_segwait",
+ /* 188 */ "compat_12_stat12",
+ /* 189 */ "compat_12_fstat12",
+ /* 190 */ "compat_12_lstat12",
+ /* 191 */ "pathconf",
+ /* 192 */ "fpathconf",
+ /* 193 */ "#193 (unimplemented)",
+ /* 194 */ "getrlimit",
+ /* 195 */ "setrlimit",
+ /* 196 */ "compat_12_getdirentries",
+ /* 197 */ "mmap",
+ /* 198 */ "__syscall",
+ /* 199 */ "lseek",
+ /* 200 */ "truncate",
+ /* 201 */ "ftruncate",
+ /* 202 */ "__sysctl",
+ /* 203 */ "mlock",
+ /* 204 */ "munlock",
+ /* 205 */ "undelete",
+ /* 206 */ "compat_50_futimes",
+ /* 207 */ "getpgid",
+ /* 208 */ "reboot",
+ /* 209 */ "poll",
+ /* 210 */ "afssys",
+ /* 211 */ "#211 (unimplemented)",
+ /* 212 */ "#212 (unimplemented)",
+ /* 213 */ "#213 (unimplemented)",
+ /* 214 */ "#214 (unimplemented)",
+ /* 215 */ "#215 (unimplemented)",
+ /* 216 */ "#216 (unimplemented)",
+ /* 217 */ "#217 (unimplemented)",
+ /* 218 */ "#218 (unimplemented)",
+ /* 219 */ "#219 (unimplemented)",
+ /* 220 */ "compat_14___semctl",
Home |
Main Index |
Thread Index |
Old Index