compat aoutm68k: Mark sstk(2) as OBSOL Remove the sstk(2) syscall support and mark it as obsolete. It has never been implemented in the kernel. Sponsored by <The NetBSD Foundation>diff -r1.48 -r1.49 src/sys/compat/aoutm68k/aoutm68k_syscall.h
(kamil)
--- src/sys/compat/aoutm68k/aoutm68k_syscall.h 2017/05/10 06:19:48 1.48
+++ src/sys/compat/aoutm68k/aoutm68k_syscall.h 2017/12/19 08:09:36 1.49
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: aoutm68k_syscall.h,v 1.48 2017/05/10 06:19:48 riastradh Exp $ */ | 1 | /* $NetBSD: aoutm68k_syscall.h,v 1.49 2017/12/19 08:09:36 kamil Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call numbers. | 4 | * System call numbers. | |
5 | * | 5 | * | |
6 | * DO NOT EDIT-- this file is automatically generated. | 6 | * DO NOT EDIT-- this file is automatically generated. | |
7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | 7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _AOUTM68K_SYS_SYSCALL_H_ | 10 | #ifndef _AOUTM68K_SYS_SYSCALL_H_ | |
11 | #define _AOUTM68K_SYS_SYSCALL_H_ | 11 | #define _AOUTM68K_SYS_SYSCALL_H_ | |
12 | 12 | |||
13 | #define AOUTM68K_SYS_MAXSYSARGS 8 | 13 | #define AOUTM68K_SYS_MAXSYSARGS 8 | |
14 | 14 | |||
@@ -257,29 +257,27 @@ | @@ -257,29 +257,27 @@ | |||
257 | #define AOUTM68K_SYS_msync 65 | 257 | #define AOUTM68K_SYS_msync 65 | |
258 | 258 | |||
259 | #else | 259 | #else | |
260 | /* 65 is excluded compat_12_sys_msync */ | 260 | /* 65 is excluded compat_12_sys_msync */ | |
261 | #endif | 261 | #endif | |
262 | /* syscall: "vfork" ret: "int" args: */ | 262 | /* syscall: "vfork" ret: "int" args: */ | |
263 | #define AOUTM68K_SYS_vfork 66 | 263 | #define AOUTM68K_SYS_vfork 66 | |
264 | 264 | |||
265 | /* 67 is obsolete vread */ | 265 | /* 67 is obsolete vread */ | |
266 | /* 68 is obsolete vwrite */ | 266 | /* 68 is obsolete vwrite */ | |
267 | /* syscall: "sbrk" ret: "int" args: "intptr_t" */ | 267 | /* syscall: "sbrk" ret: "int" args: "intptr_t" */ | |
268 | #define AOUTM68K_SYS_sbrk 69 | 268 | #define AOUTM68K_SYS_sbrk 69 | |
269 | 269 | |||
270 | /* syscall: "sstk" ret: "int" args: "int" */ | 270 | /* 70 is obsolete sstk */ | |
271 | #define AOUTM68K_SYS_sstk 70 | |||
272 | ||||
273 | #if defined(COMPAT_43) || !defined(_KERNEL) | 271 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
274 | /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ | 272 | /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ | |
275 | #define AOUTM68K_SYS_ommap 71 | 273 | #define AOUTM68K_SYS_ommap 71 | |
276 | 274 | |||
277 | #else | 275 | #else | |
278 | /* 71 is excluded compat_43_sys_mmap */ | 276 | /* 71 is excluded compat_43_sys_mmap */ | |
279 | #endif | 277 | #endif | |
280 | /* syscall: "vadvise" ret: "int" args: "int" */ | 278 | /* syscall: "vadvise" ret: "int" args: "int" */ | |
281 | #define AOUTM68K_SYS_vadvise 72 | 279 | #define AOUTM68K_SYS_vadvise 72 | |
282 | 280 | |||
283 | /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ | 281 | /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ | |
284 | #define AOUTM68K_SYS_munmap 73 | 282 | #define AOUTM68K_SYS_munmap 73 | |
285 | 283 |
--- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h 2017/05/10 06:19:48 1.46
+++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h 2017/12/19 08:09:36 1.47
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: aoutm68k_syscallargs.h,v 1.46 2017/05/10 06:19:48 riastradh Exp $ */ | 1 | /* $NetBSD: aoutm68k_syscallargs.h,v 1.47 2017/12/19 08:09:36 kamil Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call argument lists. | 4 | * System call argument lists. | |
5 | * | 5 | * | |
6 | * DO NOT EDIT-- this file is automatically generated. | 6 | * DO NOT EDIT-- this file is automatically generated. | |
7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | 7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ | 10 | #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ | |
11 | #define _AOUTM68K_SYS_SYSCALLARGS_H_ | 11 | #define _AOUTM68K_SYS_SYSCALLARGS_H_ | |
12 | 12 | |||
13 | /* Forward declaration */ | 13 | /* Forward declaration */ | |
14 | struct lwp; | 14 | struct lwp; | |
@@ -181,28 +181,26 @@ struct aoutm68k_compat_43_sys_fstat_args | @@ -181,28 +181,26 @@ struct aoutm68k_compat_43_sys_fstat_args | |||
181 | }; | 181 | }; | |
182 | check_syscall_args(aoutm68k_compat_43_sys_fstat) | 182 | check_syscall_args(aoutm68k_compat_43_sys_fstat) | |
183 | 183 | |||
184 | struct compat_43_sys_getkerninfo_args; | 184 | struct compat_43_sys_getkerninfo_args; | |
185 | #else | 185 | #else | |
186 | #endif | 186 | #endif | |
187 | #if defined(COMPAT_12) || !defined(_KERNEL) | 187 | #if defined(COMPAT_12) || !defined(_KERNEL) | |
188 | 188 | |||
189 | struct compat_12_sys_msync_args; | 189 | struct compat_12_sys_msync_args; | |
190 | #else | 190 | #else | |
191 | #endif | 191 | #endif | |
192 | 192 | |||
193 | struct sys_sbrk_args; | 193 | struct sys_sbrk_args; | |
194 | ||||
195 | struct sys_sstk_args; | |||
196 | #if defined(COMPAT_43) || !defined(_KERNEL) | 194 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
197 | 195 | |||
198 | struct compat_43_sys_mmap_args; | 196 | struct compat_43_sys_mmap_args; | |
199 | #else | 197 | #else | |
200 | #endif | 198 | #endif | |
201 | 199 | |||
202 | struct sys_ovadvise_args; | 200 | struct sys_ovadvise_args; | |
203 | 201 | |||
204 | struct sys_munmap_args; | 202 | struct sys_munmap_args; | |
205 | 203 | |||
206 | struct sys_mprotect_args; | 204 | struct sys_mprotect_args; | |
207 | 205 | |||
208 | struct sys_madvise_args; | 206 | struct sys_madvise_args; | |
@@ -814,28 +812,26 @@ int compat_43_sys_getkerninfo(struct lwp | @@ -814,28 +812,26 @@ int compat_43_sys_getkerninfo(struct lwp | |||
814 | int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *); | 812 | int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *); | |
815 | 813 | |||
816 | #else | 814 | #else | |
817 | #endif | 815 | #endif | |
818 | #if defined(COMPAT_12) || !defined(_KERNEL) | 816 | #if defined(COMPAT_12) || !defined(_KERNEL) | |
819 | int compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *); | 817 | int compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *); | |
820 | 818 | |||
821 | #else | 819 | #else | |
822 | #endif | 820 | #endif | |
823 | int sys_vfork(struct lwp *, const void *, register_t *); | 821 | int sys_vfork(struct lwp *, const void *, register_t *); | |
824 | 822 | |||
825 | int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *); | 823 | int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *); | |
826 | 824 | |||
827 | int sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *); | |||
828 | ||||
829 | #if defined(COMPAT_43) || !defined(_KERNEL) | 825 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
830 | int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *); | 826 | int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *); | |
831 | 827 | |||
832 | #else | 828 | #else | |
833 | #endif | 829 | #endif | |
834 | int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *); | 830 | int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *); | |
835 | 831 | |||
836 | int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); | 832 | int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); | |
837 | 833 | |||
838 | int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *); | 834 | int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *); | |
839 | 835 | |||
840 | int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); | 836 | int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); | |
841 | 837 |
--- src/sys/compat/aoutm68k/aoutm68k_syscalls.c 2017/05/10 06:19:48 1.45
+++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c 2017/12/19 08:09:36 1.46
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | /* $NetBSD: aoutm68k_syscalls.c,v 1.45 2017/05/10 06:19:48 riastradh Exp $ */ | 1 | /* $NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call names. | 4 | * System call names. | |
5 | * | 5 | * | |
6 | * DO NOT EDIT-- this file is automatically generated. | 6 | * DO NOT EDIT-- this file is automatically generated. | |
7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | 7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.45 2017/05/10 06:19:48 riastradh Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $"); | |
12 | 12 | |||
13 | #if defined(_KERNEL_OPT) | 13 | #if defined(_KERNEL_OPT) | |
14 | #if defined(_KERNEL_OPT) | 14 | #if defined(_KERNEL_OPT) | |
15 | #include "opt_ktrace.h" | 15 | #include "opt_ktrace.h" | |
16 | #include "opt_nfsserver.h" | 16 | #include "opt_nfsserver.h" | |
17 | #include "opt_ntp.h" | 17 | #include "opt_ntp.h" | |
18 | #include "opt_compat_netbsd.h" | 18 | #include "opt_compat_netbsd.h" | |
19 | #include "opt_sysv.h" | 19 | #include "opt_sysv.h" | |
20 | #include "opt_compat_43.h" | 20 | #include "opt_compat_43.h" | |
21 | #endif | 21 | #endif | |
22 | #include <sys/param.h> | 22 | #include <sys/param.h> | |
23 | #include <sys/systm.h> | 23 | #include <sys/systm.h> | |
24 | #include <sys/signal.h> | 24 | #include <sys/signal.h> | |
@@ -142,27 +142,27 @@ const char *const aoutm68k_syscallnames[ | @@ -142,27 +142,27 @@ const char *const aoutm68k_syscallnames[ | |||
142 | /* 62 */ "#62 (excluded aoutm68k_compat_43_sys_fstat)", | 142 | /* 62 */ "#62 (excluded aoutm68k_compat_43_sys_fstat)", | |
143 | /* 63 */ "#63 (excluded compat_43_sys_getkerninfo)", | 143 | /* 63 */ "#63 (excluded compat_43_sys_getkerninfo)", | |
144 | /* 64 */ "#64 (excluded compat_43_sys_getpagesize)", | 144 | /* 64 */ "#64 (excluded compat_43_sys_getpagesize)", | |
145 | #endif | 145 | #endif | |
146 | #if defined(COMPAT_12) || !defined(_KERNEL) | 146 | #if defined(COMPAT_12) || !defined(_KERNEL) | |
147 | /* 65 */ "msync", | 147 | /* 65 */ "msync", | |
148 | #else | 148 | #else | |
149 | /* 65 */ "#65 (excluded compat_12_sys_msync)", | 149 | /* 65 */ "#65 (excluded compat_12_sys_msync)", | |
150 | #endif | 150 | #endif | |
151 | /* 66 */ "vfork", | 151 | /* 66 */ "vfork", | |
152 | /* 67 */ "#67 (obsolete vread)", | 152 | /* 67 */ "#67 (obsolete vread)", | |
153 | /* 68 */ "#68 (obsolete vwrite)", | 153 | /* 68 */ "#68 (obsolete vwrite)", | |
154 | /* 69 */ "sbrk", | 154 | /* 69 */ "sbrk", | |
155 | /* 70 */ "sstk", | 155 | /* 70 */ "#70 (obsolete sstk)", | |
156 | #if defined(COMPAT_43) || !defined(_KERNEL) | 156 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
157 | /* 71 */ "ommap", | 157 | /* 71 */ "ommap", | |
158 | #else | 158 | #else | |
159 | /* 71 */ "#71 (excluded compat_43_sys_mmap)", | 159 | /* 71 */ "#71 (excluded compat_43_sys_mmap)", | |
160 | #endif | 160 | #endif | |
161 | /* 72 */ "vadvise", | 161 | /* 72 */ "vadvise", | |
162 | /* 73 */ "munmap", | 162 | /* 73 */ "munmap", | |
163 | /* 74 */ "mprotect", | 163 | /* 74 */ "mprotect", | |
164 | /* 75 */ "madvise", | 164 | /* 75 */ "madvise", | |
165 | /* 76 */ "#76 (obsolete vhangup)", | 165 | /* 76 */ "#76 (obsolete vhangup)", | |
166 | /* 77 */ "#77 (obsolete vlimit)", | 166 | /* 77 */ "#77 (obsolete vlimit)", | |
167 | /* 78 */ "mincore", | 167 | /* 78 */ "mincore", | |
168 | /* 79 */ "getgroups", | 168 | /* 79 */ "getgroups", | |
@@ -889,27 +889,27 @@ const char *const altaoutm68k_syscallnam | @@ -889,27 +889,27 @@ const char *const altaoutm68k_syscallnam | |||
889 | /* 62 */ NULL, /* excluded aoutm68k_compat_43_sys_fstat */ | 889 | /* 62 */ NULL, /* excluded aoutm68k_compat_43_sys_fstat */ | |
890 | /* 63 */ NULL, /* excluded compat_43_sys_getkerninfo */ | 890 | /* 63 */ NULL, /* excluded compat_43_sys_getkerninfo */ | |
891 | /* 64 */ NULL, /* excluded compat_43_sys_getpagesize */ | 891 | /* 64 */ NULL, /* excluded compat_43_sys_getpagesize */ | |
892 | #endif | 892 | #endif | |
893 | #if defined(COMPAT_12) || !defined(_KERNEL) | 893 | #if defined(COMPAT_12) || !defined(_KERNEL) | |
894 | /* 65 */ NULL, /* msync */ | 894 | /* 65 */ NULL, /* msync */ | |
895 | #else | 895 | #else | |
896 | /* 65 */ NULL, /* excluded compat_12_sys_msync */ | 896 | /* 65 */ NULL, /* excluded compat_12_sys_msync */ | |
897 | #endif | 897 | #endif | |
898 | /* 66 */ NULL, /* vfork */ | 898 | /* 66 */ NULL, /* vfork */ | |
899 | /* 67 */ NULL, /* obsolete vread */ | 899 | /* 67 */ NULL, /* obsolete vread */ | |
900 | /* 68 */ NULL, /* obsolete vwrite */ | 900 | /* 68 */ NULL, /* obsolete vwrite */ | |
901 | /* 69 */ NULL, /* sbrk */ | 901 | /* 69 */ NULL, /* sbrk */ | |
902 | /* 70 */ NULL, /* sstk */ | 902 | /* 70 */ NULL, /* obsolete sstk */ | |
903 | #if defined(COMPAT_43) || !defined(_KERNEL) | 903 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
904 | /* 71 */ "mmap", | 904 | /* 71 */ "mmap", | |
905 | #else | 905 | #else | |
906 | /* 71 */ NULL, /* excluded compat_43_sys_mmap */ | 906 | /* 71 */ NULL, /* excluded compat_43_sys_mmap */ | |
907 | #endif | 907 | #endif | |
908 | /* 72 */ "ovadvise", | 908 | /* 72 */ "ovadvise", | |
909 | /* 73 */ NULL, /* munmap */ | 909 | /* 73 */ NULL, /* munmap */ | |
910 | /* 74 */ NULL, /* mprotect */ | 910 | /* 74 */ NULL, /* mprotect */ | |
911 | /* 75 */ NULL, /* madvise */ | 911 | /* 75 */ NULL, /* madvise */ | |
912 | /* 76 */ NULL, /* obsolete vhangup */ | 912 | /* 76 */ NULL, /* obsolete vhangup */ | |
913 | /* 77 */ NULL, /* obsolete vlimit */ | 913 | /* 77 */ NULL, /* obsolete vlimit */ | |
914 | /* 78 */ NULL, /* mincore */ | 914 | /* 78 */ NULL, /* mincore */ | |
915 | /* 79 */ NULL, /* getgroups */ | 915 | /* 79 */ NULL, /* getgroups */ |
--- src/sys/compat/aoutm68k/aoutm68k_sysent.c 2017/05/10 06:19:48 1.50
+++ src/sys/compat/aoutm68k/aoutm68k_sysent.c 2017/12/19 08:09:36 1.51
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | /* $NetBSD: aoutm68k_sysent.c,v 1.50 2017/05/10 06:19:48 riastradh Exp $ */ | 1 | /* $NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call switch table. | 4 | * System call switch table. | |
5 | * | 5 | * | |
6 | * DO NOT EDIT-- this file is automatically generated. | 6 | * DO NOT EDIT-- this file is automatically generated. | |
7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | 7 | * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.50 2017/05/10 06:19:48 riastradh Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $"); | |
12 | 12 | |||
13 | #if defined(_KERNEL_OPT) | 13 | #if defined(_KERNEL_OPT) | |
14 | #include "opt_ktrace.h" | 14 | #include "opt_ktrace.h" | |
15 | #include "opt_nfsserver.h" | 15 | #include "opt_nfsserver.h" | |
16 | #include "opt_ntp.h" | 16 | #include "opt_ntp.h" | |
17 | #include "opt_compat_netbsd.h" | 17 | #include "opt_compat_netbsd.h" | |
18 | #include "opt_sysv.h" | 18 | #include "opt_sysv.h" | |
19 | #include "opt_compat_43.h" | 19 | #include "opt_compat_43.h" | |
20 | #endif | 20 | #endif | |
21 | #include <sys/param.h> | 21 | #include <sys/param.h> | |
22 | #include <sys/systm.h> | 22 | #include <sys/systm.h> | |
23 | #include <sys/signal.h> | 23 | #include <sys/signal.h> | |
24 | #include <sys/mount.h> | 24 | #include <sys/mount.h> | |
@@ -411,29 +411,28 @@ struct sysent aoutm68k_sysent[] = { | @@ -411,29 +411,28 @@ struct sysent aoutm68k_sysent[] = { | |||
411 | .sy_call = (sy_call_t *)sys_vfork | 411 | .sy_call = (sy_call_t *)sys_vfork | |
412 | }, /* 66 = vfork */ | 412 | }, /* 66 = vfork */ | |
413 | { | 413 | { | |
414 | .sy_call = sys_nosys, | 414 | .sy_call = sys_nosys, | |
415 | }, /* 67 = filler */ | 415 | }, /* 67 = filler */ | |
416 | { | 416 | { | |
417 | .sy_call = sys_nosys, | 417 | .sy_call = sys_nosys, | |
418 | }, /* 68 = filler */ | 418 | }, /* 68 = filler */ | |
419 | { | 419 | { | |
420 | ns(struct sys_sbrk_args), | 420 | ns(struct sys_sbrk_args), | |
421 | .sy_call = (sy_call_t *)sys_sbrk | 421 | .sy_call = (sy_call_t *)sys_sbrk | |
422 | }, /* 69 = sbrk */ | 422 | }, /* 69 = sbrk */ | |
423 | { | 423 | { | |
424 | ns(struct sys_sstk_args), | 424 | .sy_call = sys_nosys, | |
425 | .sy_call = (sy_call_t *)sys_sstk | 425 | }, /* 70 = filler */ | |
426 | }, /* 70 = sstk */ | |||
427 | #if defined(COMPAT_43) || !defined(_KERNEL) | 426 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
428 | { | 427 | { | |
429 | ns(struct compat_43_sys_mmap_args), | 428 | ns(struct compat_43_sys_mmap_args), | |
430 | .sy_flags = SYCALL_ARG_PTR, | 429 | .sy_flags = SYCALL_ARG_PTR, | |
431 | .sy_call = (sy_call_t *)compat_43_sys_mmap | 430 | .sy_call = (sy_call_t *)compat_43_sys_mmap | |
432 | }, /* 71 = ommap */ | 431 | }, /* 71 = ommap */ | |
433 | #else | 432 | #else | |
434 | { | 433 | { | |
435 | .sy_call = sys_nosys, | 434 | .sy_call = sys_nosys, | |
436 | }, /* 71 = filler */ | 435 | }, /* 71 = filler */ | |
437 | #endif | 436 | #endif | |
438 | { | 437 | { | |
439 | ns(struct sys_ovadvise_args), | 438 | ns(struct sys_ovadvise_args), |
--- src/sys/compat/aoutm68k/syscalls.master 2011/03/07 19:26:35 1.37
+++ src/sys/compat/aoutm68k/syscalls.master 2017/12/19 08:09:36 1.38
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp $ | 1 | $NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp $ | |
2 | 2 | |||
3 | ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 | 3 | ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 | |
4 | 4 | |||
5 | ; NetBSD system call name/number "master" file. | 5 | ; NetBSD system call name/number "master" file. | |
6 | ; (See syscalls.conf to see what it is processed into.) | 6 | ; (See syscalls.conf to see what it is processed into.) | |
7 | ; | 7 | ; | |
8 | ; Fields: number type [type-dependent ...] | 8 | ; Fields: number type [type-dependent ...] | |
9 | ; number system call number, must be in order | 9 | ; number system call number, must be in order | |
10 | ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of | 10 | ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of | |
11 | ; the compatibility options defined in syscalls.conf. | 11 | ; the compatibility options defined in syscalls.conf. | |
12 | ; | 12 | ; | |
13 | ; types: | 13 | ; types: | |
14 | ; STD always included | 14 | ; STD always included | |
@@ -203,27 +203,27 @@ | @@ -203,27 +203,27 @@ | |||
203 | 63 EXCL compat_43_sys_getkerninfo | 203 | 63 EXCL compat_43_sys_getkerninfo | |
204 | 64 EXCL compat_43_sys_getpagesize | 204 | 64 EXCL compat_43_sys_getpagesize | |
205 | #endif | 205 | #endif | |
206 | #if defined(COMPAT_12) || !defined(_KERNEL) | 206 | #if defined(COMPAT_12) || !defined(_KERNEL) | |
207 | 65 NOARGS { int|compat_12_sys||msync(void *addr, size_t len); } | 207 | 65 NOARGS { int|compat_12_sys||msync(void *addr, size_t len); } | |
208 | #else | 208 | #else | |
209 | 65 EXCL compat_12_sys_msync | 209 | 65 EXCL compat_12_sys_msync | |
210 | #endif | 210 | #endif | |
211 | ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? | 211 | ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? | |
212 | 66 NOARGS { int|sys||vfork(void); } | 212 | 66 NOARGS { int|sys||vfork(void); } | |
213 | 67 OBSOL vread | 213 | 67 OBSOL vread | |
214 | 68 OBSOL vwrite | 214 | 68 OBSOL vwrite | |
215 | 69 NOARGS { int|sys||sbrk(intptr_t incr); } | 215 | 69 NOARGS { int|sys||sbrk(intptr_t incr); } | |
216 | 70 NOARGS { int|sys||sstk(int incr); } | 216 | 70 OBSOL sstk | |
217 | #if defined(COMPAT_43) || !defined(_KERNEL) | 217 | #if defined(COMPAT_43) || !defined(_KERNEL) | |
218 | 71 NOARGS { int|compat_43_sys||mmap(void *addr, size_t len, \ | 218 | 71 NOARGS { int|compat_43_sys||mmap(void *addr, size_t len, \ | |
219 | int prot, int flags, int fd, long pos); } ommap | 219 | int prot, int flags, int fd, long pos); } ommap | |
220 | #else | 220 | #else | |
221 | 71 EXCL compat_43_sys_mmap | 221 | 71 EXCL compat_43_sys_mmap | |
222 | #endif | 222 | #endif | |
223 | 72 NOARGS { int|sys||ovadvise(int anom); } vadvise | 223 | 72 NOARGS { int|sys||ovadvise(int anom); } vadvise | |
224 | 73 NOARGS { int|sys||munmap(void *addr, size_t len); } | 224 | 73 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
225 | 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ | 225 | 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ | |
226 | int prot); } | 226 | int prot); } | |
227 | 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ | 227 | 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ | |
228 | int behav); } | 228 | int behav); } | |
229 | 76 OBSOL vhangup | 229 | 76 OBSOL vhangup |