Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/ultrix compat/ultrix: Drop SYS_sbrk



details:   https://anonhg.NetBSD.org/src/rev/5f957ce33752
branches:  trunk
changeset: 828572:5f957ce33752
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Dec 19 18:20:11 2017 +0000

description:
compat/ultrix: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by <The NetBSD Foundation>

diffstat:

 sys/compat/ultrix/syscalls.master      |   4 ++--
 sys/compat/ultrix/ultrix_syscall.h     |   8 +++-----
 sys/compat/ultrix/ultrix_syscallargs.h |   8 ++------
 sys/compat/ultrix/ultrix_syscalls.c    |  10 +++++-----
 sys/compat/ultrix/ultrix_sysent.c      |  11 +++++------
 5 files changed, 17 insertions(+), 24 deletions(-)

diffs (151 lines):

diff -r dfa36c89759b -r 5f957ce33752 sys/compat/ultrix/syscalls.master
--- a/sys/compat/ultrix/syscalls.master Tue Dec 19 18:15:08 2017 +0000
+++ b/sys/compat/ultrix/syscalls.master Tue Dec 19 18:20:11 2017 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp $
+       $NetBSD: syscalls.master,v 1.54 2017/12/19 18:20:11 kamil Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -118,7 +118,7 @@
 66     NOARGS          { int|sys||vfork(void); }
 67     OBSOL           vread
 68     OBSOL           vwrite
-69     NOARGS          { int|sys||sbrk(intptr_t incr); }
+69     OBSOL           sbrk
 70     OBSOL           sstk
 71     STD             { int|ultrix_sys||mmap(void *addr, size_t len, \
                            int prot, u_int flags, int fd, long pos); }
diff -r dfa36c89759b -r 5f957ce33752 sys/compat/ultrix/ultrix_syscall.h
--- a/sys/compat/ultrix/ultrix_syscall.h        Tue Dec 19 18:15:08 2017 +0000
+++ b/sys/compat/ultrix/ultrix_syscall.h        Tue Dec 19 18:20:11 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: ultrix_syscall.h,v 1.69 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_syscall.h,v 1.70 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #ifndef _ULTRIX_SYS_SYSCALL_H_
@@ -156,9 +156,7 @@
 
                                /* 67 is obsolete vread */
                                /* 68 is obsolete vwrite */
-/* syscall: "sbrk" ret: "int" args: "intptr_t" */
-#define        ULTRIX_SYS_sbrk 69
-
+                               /* 69 is obsolete sbrk */
                                /* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "int" args: "void *" "size_t" "int" "u_int" "int" "long" */
 #define        ULTRIX_SYS_mmap 71
diff -r dfa36c89759b -r 5f957ce33752 sys/compat/ultrix/ultrix_syscallargs.h
--- a/sys/compat/ultrix/ultrix_syscallargs.h    Tue Dec 19 18:15:08 2017 +0000
+++ b/sys/compat/ultrix/ultrix_syscallargs.h    Tue Dec 19 18:20:11 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: ultrix_syscallargs.h,v 1.64 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_syscallargs.h,v 1.65 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #ifndef _ULTRIX_SYS_SYSCALLARGS_H_
@@ -145,8 +145,6 @@
 
 struct compat_43_sys_fstat_args;
 
-struct sys_sbrk_args;
-
 struct ultrix_sys_mmap_args {
        syscallarg(void *) addr;
        syscallarg(size_t) len;
@@ -524,8 +522,6 @@
 
 int    sys_vfork(struct lwp *, const void *, register_t *);
 
-int    sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
-
 int    ultrix_sys_mmap(struct lwp *, const struct ultrix_sys_mmap_args *, register_t *);
 
 int    sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
diff -r dfa36c89759b -r 5f957ce33752 sys/compat/ultrix/ultrix_syscalls.c
--- a/sys/compat/ultrix/ultrix_syscalls.c       Tue Dec 19 18:15:08 2017 +0000
+++ b/sys/compat/ultrix/ultrix_syscalls.c       Tue Dec 19 18:20:11 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: ultrix_syscalls.c,v 1.68 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_syscalls.c,v 1.69 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.68 2017/12/19 08:23:22 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.69 2017/12/19 18:20:11 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -92,7 +92,7 @@
        /*  66 */       "vfork",
        /*  67 */       "#67 (obsolete vread)",
        /*  68 */       "#68 (obsolete vwrite)",
-       /*  69 */       "sbrk",
+       /*  69 */       "#69 (obsolete sbrk)",
        /*  70 */       "#70 (obsolete sstk)",
        /*  71 */       "mmap",
        /*  72 */       "vadvise",
@@ -614,7 +614,7 @@
        /*  66 */       NULL, /* vfork */
        /*  67 */       NULL, /* obsolete vread */
        /*  68 */       NULL, /* obsolete vwrite */
-       /*  69 */       NULL, /* sbrk */
+       /*  69 */       NULL, /* obsolete sbrk */
        /*  70 */       NULL, /* obsolete sstk */
        /*  71 */       NULL, /* mmap */
        /*  72 */       "ovadvise",
diff -r dfa36c89759b -r 5f957ce33752 sys/compat/ultrix/ultrix_sysent.c
--- a/sys/compat/ultrix/ultrix_sysent.c Tue Dec 19 18:15:08 2017 +0000
+++ b/sys/compat/ultrix/ultrix_sysent.c Tue Dec 19 18:20:11 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: ultrix_sysent.c,v 1.71 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_sysent.c,v 1.72 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.71 2017/12/19 08:23:22 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.72 2017/12/19 18:20:11 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -287,9 +287,8 @@
                .sy_call = sys_nosys,
        },              /* 68 = filler */
        {
-               ns(struct sys_sbrk_args),
-               .sy_call = (sy_call_t *)sys_sbrk
-       },              /* 69 = sbrk */
+               .sy_call = sys_nosys,
+       },              /* 69 = filler */
        {
                .sy_call = sys_nosys,
        },              /* 70 = filler */



Home | Main Index | Thread Index | Old Index