Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix typo



details:   https://anonhg.NetBSD.org/src/rev/d26a338b998a
branches:  trunk
changeset: 812093:d26a338b998a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Nov 30 23:25:54 2015 +0000

description:
Fix typo

diffstat:

 sys/kern/makesyscalls.sh     |     4 +-
 sys/kern/syscalls.c          |  1079 +-----
 sys/kern/syscalls_autoload.c |     8 +-
 sys/kern/systrace_args.c     |  8270 +-----------------------------------------
 4 files changed, 8 insertions(+), 9353 deletions(-)

diffs (truncated from 9424 to 300 lines):

diff -r 4b8364bb7364 -r d26a338b998a sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Mon Nov 30 23:24:14 2015 +0000
+++ b/sys/kern/makesyscalls.sh  Mon Nov 30 23:25:54 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.158 2015/11/30 23:24:14 pgoyette Exp $
+#      $NetBSD: makesyscalls.sh,v 1.159 2015/11/30 23:25:54 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
-fprint("\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 4b8364bb7364 -r d26a338b998a sys/kern/syscalls.c
--- a/sys/kern/syscalls.c       Mon Nov 30 23:24:14 2015 +0000
+++ b/sys/kern/syscalls.c       Mon Nov 30 23:25:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscalls.c,v 1.291 2015/11/30 22:48:53 pgoyette Exp $ */
+/* $NetBSD: syscalls.c,v 1.292 2015/11/30 23:25:54 pgoyette Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.291 2015/11/30 22:48:53 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.292 2015/11/30 23:25:54 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_modular.h"
@@ -21,1078 +21,3 @@
 #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",
-       /* 221 */       "semget",
-       /* 222 */       "semop",
-       /* 223 */       "semconfig",
-       /* 224 */       "compat_14_msgctl",
-       /* 225 */       "msgget",
-       /* 226 */       "msgsnd",
-       /* 227 */       "msgrcv",
-       /* 228 */       "shmat",
-       /* 229 */       "compat_14_shmctl",
-       /* 230 */       "shmdt",
-       /* 231 */       "shmget",
-       /* 232 */       "compat_50_clock_gettime",
-       /* 233 */       "compat_50_clock_settime",
-       /* 234 */       "compat_50_clock_getres",
-       /* 235 */       "timer_create",
-       /* 236 */       "timer_delete",
-       /* 237 */       "compat_50_timer_settime",
-       /* 238 */       "compat_50_timer_gettime",



Home | Main Index | Thread Index | Old Index