CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: kamil Date: Tue Dec 19 19:17:17 UTC 2017 Modified Files: src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c syscalls.master Log Message: compat/aoutm68k: Drop SYS_vadvise The (o)vadvise syscall is dummy since the beginning of NetBSD. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.48 -r1.49 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.47 -r1.48 src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.52 -r1.53 src/sys/compat/aoutm68k/aoutm68k_sysent.c cvs rdiff -u -r1.39 -r1.40 src/sys/compat/aoutm68k/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.50 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.51 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.50 Tue Dec 19 18:10:22 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Dec 19 19:17:17 2017 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.50 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.51 2017/12/19 19:17:17 kamil Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #ifndef _AOUTM68K_SYS_SYSCALL_H_ @@ -273,9 +273,7 @@ #else /* 71 is excluded compat_43_sys_mmap */ #endif -/* syscall: "vadvise" ret: "int" args: "int" */ -#define AOUTM68K_SYS_vadvise 72 - +/* 72 is obsolete vadvise */ /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ #define AOUTM68K_SYS_munmap 73 Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.48 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.49 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.48 Tue Dec 19 18:10:22 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Tue Dec 19 19:17:17 2017 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.48 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.49 2017/12/19 19:17:17 kamil Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ @@ -195,8 +195,6 @@ struct compat_43_sys_mmap_args; #else #endif -struct sys_ovadvise_args; - struct sys_munmap_args; struct sys_mprotect_args; @@ -823,8 +821,6 @@ int compat_43_sys_mmap(struct lwp *, con #else #endif -int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *); - int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *); Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.47 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.48 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.47 Tue Dec 19 18:10:22 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Tue Dec 19 19:17:17 2017 @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -158,7 +158,7 @@ const char *const aoutm68k_syscallnames[ #else /* 71 */ "#71 (excluded compat_43_sys_mmap)", #endif - /* 72 */ "vadvise", + /* 72 */ "#72 (obsolete vadvise)", /* 73 */ "munmap", /* 74 */ "mprotect", /* 75 */ "madvise", @@ -905,7 +905,7 @@ const char *const altaoutm68k_syscallnam #else /* 71 */ NULL, /* excluded compat_43_sys_mmap */ #endif - /* 72 */ "ovadvise", + /* 72 */ NULL, /* obsolete vadvise */ /* 73 */ NULL, /* munmap */ /* 74 */ NULL, /* mprotect */ /* 75 */ NULL, /* madvise */ Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.52 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.53 --- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.52 Tue Dec 19 18:10:22 2017 +++ src/sys/compat/aoutm68k/aoutm68k_sysen
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: kamil Date: Tue Dec 19 18:10:22 UTC 2017 Modified Files: src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c syscalls.master Log Message: compat/aoutm68k: Drop SYS_sbrk sbrk - change data segment size This syscall is dummy since the inception of the project. It's implemented in userland in libc. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.47 -r1.48 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.46 -r1.47 src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.51 -r1.52 src/sys/compat/aoutm68k/aoutm68k_sysent.c cvs rdiff -u -r1.38 -r1.39 src/sys/compat/aoutm68k/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.49 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.50 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.49 Tue Dec 19 08:09:36 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Dec 19 18:10:22 2017 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.49 2017/12/19 08:09:36 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.50 2017/12/19 18:10:22 kamil Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp + * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp */ #ifndef _AOUTM68K_SYS_SYSCALL_H_ @@ -264,9 +264,7 @@ /* 67 is obsolete vread */ /* 68 is obsolete vwrite */ -/* syscall: "sbrk" ret: "int" args: "intptr_t" */ -#define AOUTM68K_SYS_sbrk 69 - +/* 69 is obsolete sbrk */ /* 70 is obsolete sstk */ #if defined(COMPAT_43) || !defined(_KERNEL) /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.47 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.48 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.47 Tue Dec 19 08:09:36 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Tue Dec 19 18:10:22 2017 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.47 2017/12/19 08:09:36 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.48 2017/12/19 18:10:22 kamil Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp + * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp */ #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ @@ -189,8 +189,6 @@ struct compat_43_sys_getkerninfo_args; struct compat_12_sys_msync_args; #else #endif - -struct sys_sbrk_args; #if defined(COMPAT_43) || !defined(_KERNEL) struct compat_43_sys_mmap_args; @@ -820,8 +818,6 @@ int compat_12_sys_msync(struct lwp *, co #endif int sys_vfork(struct lwp *, const void *, register_t *); -int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *); - #if defined(COMPAT_43) || !defined(_KERNEL) int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *); Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.46 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.47 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.46 Tue Dec 19 08:09:36 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Tue Dec 19 18:10:22 2017 @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp + * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -151,7 +151,7 @@ const char *const aoutm68k_syscallnames[ /* 66 */ "vfork", /* 67 */ "#67 (obsolete vread)", /* 68 */ "#68 (obsolete vwrite)", - /* 69 */ "sbrk", + /* 69 */ "#69 (obsolete sbrk)", /* 70 */ "#70 (obsolete sstk)", #if defined(COMPAT_43) || !defined(_KERNEL) /* 71 */ "ommap", @@ -898,7 +898,7 @@ const char *const altaoutm68k_syscallnam /* 66 */ NULL, /* vfork */ /* 67 */ NULL, /* obsolete vread */ /* 68 */ NULL, /* obsolete vwrite */ - /* 69 */ NULL, /* sbrk */ + /* 69 */ NULL, /* obsolete sbrk */ /* 70 */ NULL, /* obsolete sstk */ #if defi
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: kamil Date: Tue Dec 19 08:09:36 UTC 2017 Modified Files: src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c syscalls.master Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.46 -r1.47 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.45 -r1.46 src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.50 -r1.51 src/sys/compat/aoutm68k/aoutm68k_sysent.c cvs rdiff -u -r1.37 -r1.38 src/sys/compat/aoutm68k/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.48 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.49 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.48 Wed May 10 06:19:48 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Dec 19 08:09:36 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.48 2017/05/10 06:19:48 riastradh Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.49 2017/12/19 08:09:36 kamil Exp $ */ /* * System call numbers. @@ -267,9 +267,7 @@ /* syscall: "sbrk" ret: "int" args: "intptr_t" */ #define AOUTM68K_SYS_sbrk 69 -/* syscall: "sstk" ret: "int" args: "int" */ -#define AOUTM68K_SYS_sstk 70 - +/* 70 is obsolete sstk */ #if defined(COMPAT_43) || !defined(_KERNEL) /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ #define AOUTM68K_SYS_ommap 71 Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.46 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.47 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.46 Wed May 10 06:19:48 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Tue Dec 19 08:09:36 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.46 2017/05/10 06:19:48 riastradh Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.47 2017/12/19 08:09:36 kamil Exp $ */ /* * System call argument lists. @@ -191,8 +191,6 @@ struct compat_12_sys_msync_args; #endif struct sys_sbrk_args; - -struct sys_sstk_args; #if defined(COMPAT_43) || !defined(_KERNEL) struct compat_43_sys_mmap_args; @@ -824,8 +822,6 @@ int sys_vfork(struct lwp *, const void * int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *); -int sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *); - #if defined(COMPAT_43) || !defined(_KERNEL) int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *); Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.45 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.46 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.45 Wed May 10 06:19:48 2017 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Tue Dec 19 08:09:36 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.45 2017/05/10 06:19:48 riastradh Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $ */ /* * System call names. @@ -8,7 +8,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.45 2017/05/10 06:19:48 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -152,7 +152,7 @@ const char *const aoutm68k_syscallnames[ /* 67 */ "#67 (obsolete vread)", /* 68 */ "#68 (obsolete vwrite)", /* 69 */ "sbrk", - /* 70 */ "sstk", + /* 70 */ "#70 (obsolete sstk)", #if defined(COMPAT_43) || !defined(_KERNEL) /* 71 */ "ommap", #else @@ -899,7 +899,7 @@ const char *const altaoutm68k_syscallnam /* 67 */ NULL, /* obsolete vread */ /* 68 */ NULL, /* obsolete vwrite */ /* 69 */ NULL, /* sbrk */ - /* 70 */ NULL, /* sstk */ + /* 70 */ NULL, /* obsolete sstk */ #if defined(COMPAT_43) || !defined(_KERNEL) /* 71 */ "mmap", #else Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.50 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.51 --- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.50 Wed May 10 06:19:48 2017 +++ src/sys/compat/aoutm68k/aoutm68k_sysent.c Tue Dec 19 08:09:36 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_sysent.c,v 1.50 2017/05/10 06:19:48 riastradh Exp $ */ +/* $NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $ */ /* * System call switch table. @@ -8,7 +8,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.50 2017/05/10 06:19:48 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $"); #if defined(_K
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: christos Date: Thu Sep 24 14:40:09 UTC 2015 Modified Files: src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.42 -r1.43 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.41 -r1.42 src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.46 -r1.47 src/sys/compat/aoutm68k/aoutm68k_sysent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.44 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.45 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.44 Sat Mar 7 11:41:52 2015 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Thu Sep 24 10:40:09 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.44 2015/03/07 16:41:52 christos Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.45 2015/09/24 14:40:09 christos Exp $ */ /* * System call numbers. Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.42 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.43 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.42 Sat Mar 7 11:41:52 2015 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Thu Sep 24 10:40:09 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.42 2015/03/07 16:41:52 christos Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.43 2015/09/24 14:40:09 christos Exp $ */ /* * System call argument lists. Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.41 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.42 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.41 Sat Mar 7 11:41:52 2015 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Thu Sep 24 10:40:09 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.41 2015/03/07 16:41:52 christos Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.42 2015/09/24 14:40:09 christos Exp $ */ /* * System call names. @@ -8,7 +8,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.41 2015/03/07 16:41:52 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.42 2015/09/24 14:40:09 christos Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -26,6 +26,8 @@ __KERNEL_RCSID(0, "$NetBSD: aoutm68k_sys #include #include #include +#else /* _KERNEL_OPT */ +#include #endif /* _KERNEL_OPT */ const char *const aoutm68k_syscallnames[] = { @@ -772,3 +774,750 @@ const char *const aoutm68k_syscallnames[ /* 510 */ "# filler", /* 511 */ "# filler", }; + + +/* libc style syscall names */ +const char *const altaoutm68k_syscallnames[] = { + /* 0 */ NULL, /* syscall */ + /* 1 */ NULL, /* exit */ + /* 2 */ NULL, /* fork */ + /* 3 */ NULL, /* read */ + /* 4 */ NULL, /* write */ + /* 5 */ NULL, /* open */ + /* 6 */ NULL, /* close */ + /* 7 */ NULL, /* wait4 */ +#if defined(COMPAT_43) || !defined(_KERNEL) + /* 8 */ "creat", +#else + /* 8 */ NULL, /* excluded compat_43_sys_creat */ +#endif + /* 9 */ NULL, /* link */ + /* 10 */ NULL, /* unlink */ + /* 11 */ NULL, /* obsolete execv */ + /* 12 */ NULL, /* chdir */ + /* 13 */ NULL, /* fchdir */ + /* 14 */ NULL, /* mknod */ + /* 15 */ NULL, /* chmod */ + /* 16 */ NULL, /* chown */ + /* 17 */ "obreak", +#if defined(COMPAT_20) || !defined(_KERNEL) + /* 18 */ NULL, /* getfsstat */ +#else + /* 18 */ NULL, /* excluded compat_20_sys_getfsstat */ +#endif +#if defined(COMPAT_43) || !defined(_KERNEL) + /* 19 */ "lseek", +#else + /* 19 */ NULL, /* excluded compat_43_sys_lseek */ +#endif + /* 20 */ NULL, /* getpid */ + /* 21 */ NULL, /* mount */ + /* 22 */ NULL, /* unmount */ + /* 23 */ NULL, /* setuid */ + /* 24 */ NULL, /* getuid */ + /* 25 */ NULL, /* geteuid */ + /* 26 */ NULL, /* ptrace */ + /* 27 */ NULL, /* recvmsg */ + /* 28 */ NULL, /* sendmsg */ + /* 29 */ NULL, /* recvfrom */ + /* 30 */ NULL, /* accept */ + /* 31 */ NULL, /* getpeername */ + /* 32 */ NULL, /* getsockname */ + /* 33 */ NULL, /* access */ + /* 34 */ NULL, /* chflags */ + /* 35 */ NULL, /* fchflags */ + /* 36 */ NULL, /* sync */ + /* 37 */ NULL, /* kill */ +#if defined(COMPAT_43) || !defined(_KERNEL) + /* 38 */ "stat", +#else + /* 38 */ NULL, /* excluded aoutm68k_compat_43_sys_stat */ +#endif + /* 39 */ NULL, /* getppid */ +#if defined(COMPAT_43) || !defined(_KERNEL) + /* 40 */ "lstat", +#else + /* 40 */ NULL, /* excluded aoutm68k_compat_43_sys_lstat */ +#endif + /* 41 */ NULL, /* dup */ + /* 42 */ NULL, /* pipe */ + /* 43 */ NULL, /* getegid */ + /* 44 */ NULL, /* profil */ +#if defined(KTRACE) || !defined(_KERNEL) + /* 45 */ NULL, /* ktrace */ +#else + /* 45 */ NULL, /* excluded ktrace */ +#end
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: christos Date: Sat Jan 25 16:43:03 UTC 2014 Modified Files: src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.40 -r1.41 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.39 -r1.40 src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.44 -r1.45 src/sys/compat/aoutm68k/aoutm68k_sysent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.42 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.43 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.42 Mon Mar 7 14:27:27 2011 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Sat Jan 25 11:43:03 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.42 2011/03/07 19:27:27 bouyer Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.43 2014/01/25 16:43:03 christos Exp $ */ /* * System call numbers. Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.40 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.41 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.40 Mon Mar 7 14:27:27 2011 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Sat Jan 25 11:43:03 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.40 2011/03/07 19:27:27 bouyer Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.41 2014/01/25 16:43:03 christos Exp $ */ /* * System call argument lists. Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.39 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.40 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.39 Mon Mar 7 14:27:27 2011 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Sat Jan 25 11:43:03 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.39 2011/03/07 19:27:27 bouyer Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.40 2014/01/25 16:43:03 christos Exp $ */ /* * System call names. @@ -8,7 +8,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.39 2011/03/07 19:27:27 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.40 2014/01/25 16:43:03 christos Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.44 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.45 --- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.44 Mon Mar 7 14:27:27 2011 +++ src/sys/compat/aoutm68k/aoutm68k_sysent.c Sat Jan 25 11:43:03 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_sysent.c,v 1.44 2011/03/07 19:27:27 bouyer Exp $ */ +/* $NetBSD: aoutm68k_sysent.c,v 1.45 2014/01/25 16:43:03 christos Exp $ */ /* * System call switch table. @@ -8,7 +8,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.44 2011/03/07 19:27:27 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.45 2014/01/25 16:43:03 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_ktrace.h" @@ -37,43 +37,43 @@ struct sysent aoutm68k_sysent[] = { (sy_call_t *)sys_exit }, /* 1 = exit */ { 0, 0, 0, (sy_call_t *)sys_fork }, /* 2 = fork */ - { ns(struct sys_read_args), 0, + { ns(struct sys_read_args), SYCALL_ARG_PTR, (sy_call_t *)sys_read }, /* 3 = read */ - { ns(struct sys_write_args), 0, + { ns(struct sys_write_args), SYCALL_ARG_PTR, (sy_call_t *)sys_write }, /* 4 = write */ - { ns(struct sys_open_args), 0, + { ns(struct sys_open_args), SYCALL_ARG_PTR, (sy_call_t *)sys_open }, /* 5 = open */ { ns(struct sys_close_args), 0, (sy_call_t *)sys_close }, /* 6 = close */ - { ns(struct compat_50_sys_wait4_args), 0, + { ns(struct compat_50_sys_wait4_args), SYCALL_ARG_PTR, (sy_call_t *)compat_50_sys_wait4 }, /* 7 = wait4 */ #if defined(COMPAT_43) || !defined(_KERNEL) - { ns(struct compat_43_sys_creat_args), 0, + { ns(struct compat_43_sys_creat_args), SYCALL_ARG_PTR, (sy_call_t *)compat_43_sys_creat }, /* 8 = ocreat */ #else { 0, 0, 0, sys_nosys }, /* 8 = excluded compat_43_sys_creat */ #endif - { ns(struct sys_link_args), 0, + { ns(struct sys_link_args), SYCALL_ARG_PTR, (sy_call_t *)sys_link }, /* 9 = link */ - { ns(struct sys_unlink_args), 0, + { ns(struct sys_unlink_args), SYCALL_ARG_PTR, (sy_call_t *)sys_unlink }, /* 10 = unlink */ { 0, 0, 0, sys_nosys }, /* 11 = obsolete execv */ - { ns(struct sys_chdir_args), 0, + { ns(struct sys_chdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chdir }, /* 12 = chdir */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 13 = fchdir */ - { ns(struct compat_50_sys_mknod_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64, + {
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: bouyer Date: Mon Mar 7 19:27:27 UTC 2011 Modified Files: src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c Log Message: Regen: use COMPAT_50 quotactl, not the native one To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.39 -r1.40 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.38 -r1.39 src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.43 -r1.44 src/sys/compat/aoutm68k/aoutm68k_sysent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.41 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.42 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.41 Tue Mar 2 21:14:43 2010 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Mon Mar 7 19:27:27 2011 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.41 2010/03/02 21:14:43 pooka Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.42 2011/03/07 19:27:27 bouyer Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp + * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp */ #ifndef _AOUTM68K_SYS_SYSCALL_H_ Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.39 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.40 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.39 Tue Mar 2 21:14:43 2010 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Mon Mar 7 19:27:27 2011 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.39 2010/03/02 21:14:43 pooka Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.40 2011/03/07 19:27:27 bouyer Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp + * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp */ #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ @@ -27,7 +27,7 @@ } #undef check_syscall_args -#define check_syscall_args(call) \ +#define check_syscall_args(call) /*LINTED*/ \ typedef char call##_check_args[sizeof (struct call##_args) \ <= AOUTM68K_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; @@ -358,7 +358,7 @@ #else #endif -struct sys_quotactl_args; +struct compat_50_sys_quotactl_args; #if defined(COMPAT_43) || !defined(_KERNEL) struct compat_43_sys_getsockname_args; @@ -1000,7 +1000,7 @@ #endif int sys_setsid(struct lwp *, const void *, register_t *); -int sys_quotactl(struct lwp *, const struct sys_quotactl_args *, register_t *); +int compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *); #if defined(COMPAT_43) || !defined(_KERNEL) int compat_43_sys_quota(struct lwp *, const void *, register_t *); Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.38 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.39 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.38 Tue Mar 2 21:14:43 2010 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Mon Mar 7 19:27:27 2011 @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.38 2010/03/02 21:14:43 pooka Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.39 2011/03/07 19:27:27 bouyer Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp + * created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.38 2010/03/02 21:14:43 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.39 2011/03/07 19:27:27 bouyer Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -567,4 +567,208 @@ /* 305 */ "issetugid", /* 306 */ "getcontext", /* 307 */ "setcontext", + /* 308 */ "# filler", + /* 309 */ "# filler", + /* 310 */ "# filler", + /* 311 */ "# filler", + /* 312 */ "# filler", + /* 313 */ "# filler", + /* 314 */ "# filler", + /* 315 */ "# filler", + /* 316 */ "# filler", + /* 317 */ "# filler", + /* 318 */ "# filler", + /* 319 */ "# filler", + /* 320 */ "# filler", + /* 321 */ "# filler", + /* 322 */ "# filler", + /* 323 */ "# filler", + /* 324 */ "# filler", + /* 325 */ "# filler", + /* 326 */ "# filler", + /* 327 */ "# filler", + /* 328 */ "# filler", + /* 329 */ "# filler", + /* 330 */ "# filler", + /* 331 */ "# filler", + /* 332 */ "# filler", + /* 333 */ "# filler", + /* 334 */ "# filler", + /* 335 */ "# filler", + /* 336 */ "# filler", + /* 337 */ "# filler", + /* 338 */ "# filler", + /* 339 */ "# filler", + /* 340 */
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: bouyer Date: Mon Mar 7 19:26:35 UTC 2011 Modified Files: src/sys/compat/aoutm68k: syscalls.master Log Message: Use the COMPAT_50 quotactl, not the native one. Should fix build of COMPAT_AOUT_M68K To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/compat/aoutm68k/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/syscalls.master diff -u src/sys/compat/aoutm68k/syscalls.master:1.36 src/sys/compat/aoutm68k/syscalls.master:1.37 --- src/sys/compat/aoutm68k/syscalls.master:1.36 Tue Mar 2 21:07:21 2010 +++ src/sys/compat/aoutm68k/syscalls.master Mon Mar 7 19:26:35 2011 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp $ + $NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -402,7 +402,7 @@ 146 EXCL compat_43_sys_killpg #endif 147 NOARGS { int|sys||setsid(void); } -148 NOARGS { int|sys||quotactl(const char *path, \ +148 NOARGS { int|compat_50_sys||quotactl(const char *path, \ int cmd, int uid, void *arg); } #if defined(COMPAT_43) || !defined(_KERNEL) 149 NOARGS { int|compat_43_sys||quota(void); } oquota
CVS commit: src/sys/compat/aoutm68k
Module Name:src Committed By: tsutsui Date: Fri Oct 15 16:51:09 UTC 2010 Modified Files: src/sys/compat/aoutm68k: aoutm68k_exec.c Log Message: compat_aoutm68k doesn't require alternative emul path lookup. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/compat/aoutm68k/aoutm68k_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_exec.c diff -u src/sys/compat/aoutm68k/aoutm68k_exec.c:1.25 src/sys/compat/aoutm68k/aoutm68k_exec.c:1.26 --- src/sys/compat/aoutm68k/aoutm68k_exec.c:1.25 Wed Jul 7 01:30:32 2010 +++ src/sys/compat/aoutm68k/aoutm68k_exec.c Fri Oct 15 16:51:09 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_exec.c,v 1.25 2010/07/07 01:30:32 chs Exp $ */ +/* $NetBSD: aoutm68k_exec.c,v 1.26 2010/10/15 16:51:09 tsutsui Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_exec.c,v 1.25 2010/07/07 01:30:32 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_exec.c,v 1.26 2010/10/15 16:51:09 tsutsui Exp $"); #if defined(_KERNEL_OPT) #include "opt_syscall_debug.h" @@ -56,7 +56,7 @@ struct emul emul_netbsd_aoutm68k = { .e_name = "aoutm68k", - .e_path = "/emul/aoutm68k", + .e_path = NULL, #ifndef __HAVE_MINIMAL_EMUL .e_flags = EMUL_HAS_SYS___syscall, .e_errno = NULL,