compat/sunos32: Drop SYS_sbrk
sbrk - change data segment size This syscall is dummy since the inception of the project. Sponsored by <The NetBSD Foundation>
This commit is contained in:
parent
93b13730c3
commit
7211c03683
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: sunos32_syscall.h,v 1.34 2017/12/19 08:24:41 kamil Exp $ */
|
||||
/* $NetBSD: sunos32_syscall.h,v 1.35 2017/12/19 18:25:53 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from; NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
|
||||
* created from; NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
|
||||
*/
|
||||
|
||||
#ifndef _SUNOS32_SYS_SYSCALL_H_
|
||||
|
@ -156,9 +156,7 @@
|
|||
|
||||
/* 67 is obsolete vread */
|
||||
/* 68 is obsolete vwrite */
|
||||
/* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
|
||||
#define SUNOS32_SYS_netbsd32_sbrk 69
|
||||
|
||||
/* 69 is obsolete sbrk */
|
||||
/* 70 is obsolete sstk */
|
||||
/* syscall: "mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
|
||||
#define SUNOS32_SYS_mmap 71
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: sunos32_syscallargs.h,v 1.33 2017/12/19 08:24:41 kamil Exp $ */
|
||||
/* $NetBSD: sunos32_syscallargs.h,v 1.34 2017/12/19 18:25:53 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from; NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
|
||||
* created from; NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
|
||||
*/
|
||||
|
||||
#ifndef _SUNOS32_SYS_SYSCALLARGS_H_
|
||||
|
@ -179,8 +179,6 @@ struct sunos32_sys_omsync_args {
|
|||
};
|
||||
check_syscall_args(sunos32_sys_omsync)
|
||||
|
||||
struct netbsd32_sbrk_args;
|
||||
|
||||
struct sunos32_sys_mmap_args {
|
||||
syscallarg(netbsd32_voidp) addr;
|
||||
syscallarg(netbsd32_size_t) len;
|
||||
|
@ -564,8 +562,6 @@ int sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, reg
|
|||
|
||||
int sys_vfork(struct lwp *, const void *, register_t *);
|
||||
|
||||
int netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
|
||||
|
||||
int sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
|
||||
|
||||
int netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: sunos32_syscalls.c,v 1.33 2017/12/19 08:24:41 kamil Exp $ */
|
||||
/* $NetBSD: sunos32_syscalls.c,v 1.34 2017/12/19 18:25:53 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from; NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
|
||||
* created from; NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.33 2017/12/19 08:24:41 kamil Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.34 2017/12/19 18:25:53 kamil Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
@ -101,7 +101,7 @@ const char *const sunos32_syscallnames[] = {
|
|||
/* 66 */ "vfork",
|
||||
/* 67 */ "#67 (obsolete vread)",
|
||||
/* 68 */ "#68 (obsolete vwrite)",
|
||||
/* 69 */ "netbsd32_sbrk",
|
||||
/* 69 */ "#69 (obsolete sbrk)",
|
||||
/* 70 */ "#70 (obsolete sstk)",
|
||||
/* 71 */ "mmap",
|
||||
/* 72 */ "vadvise",
|
||||
|
@ -374,7 +374,7 @@ const char *const altsunos32_syscallnames[] = {
|
|||
/* 66 */ NULL, /* vfork */
|
||||
/* 67 */ NULL, /* obsolete vread */
|
||||
/* 68 */ NULL, /* obsolete vwrite */
|
||||
/* 69 */ "sbrk",
|
||||
/* 69 */ NULL, /* obsolete sbrk */
|
||||
/* 70 */ NULL, /* obsolete sstk */
|
||||
/* 71 */ NULL, /* mmap */
|
||||
/* 72 */ "ovadvise",
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: sunos32_sysent.c,v 1.35 2017/12/19 08:24:41 kamil Exp $ */
|
||||
/* $NetBSD: sunos32_sysent.c,v 1.36 2017/12/19 18:25:53 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from; NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
|
||||
* created from; NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunos32_sysent.c,v 1.35 2017/12/19 08:24:41 kamil Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunos32_sysent.c,v 1.36 2017/12/19 18:25:53 kamil Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_sysv.h"
|
||||
|
@ -277,9 +277,8 @@ struct sysent sunos32_sysent[] = {
|
|||
.sy_call = sys_nosys,
|
||||
}, /* 68 = filler */
|
||||
{
|
||||
ns(struct netbsd32_sbrk_args),
|
||||
.sy_call = (sy_call_t *)netbsd32_sbrk
|
||||
}, /* 69 = netbsd32_sbrk */
|
||||
.sy_call = sys_nosys,
|
||||
}, /* 69 = filler */
|
||||
{
|
||||
.sy_call = sys_nosys,
|
||||
}, /* 70 = filler */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp $
|
||||
; $NetBSD: syscalls.master,v 1.24 2017/12/19 18:25:53 kamil Exp $
|
||||
|
||||
; from :NetBSD: syscalls.master,v 1.57 2000/12/09 07:10:36 mycroft Exp
|
||||
|
||||
|
@ -134,7 +134,7 @@
|
|||
66 NOARGS { int|sys||vfork(void); }
|
||||
67 OBSOL vread
|
||||
68 OBSOL vwrite
|
||||
69 NOARGS { int|netbsd32||sbrk(netbsd32_intptr_t incr); }
|
||||
69 OBSOL sbrk
|
||||
70 OBSOL sstk
|
||||
71 STD { netbsd32_voidp|sunos32_sys||mmap(netbsd32_voidp addr, netbsd32_size_t len, \
|
||||
int prot, int flags, int fd, netbsd32_long pos); }
|
||||
|
|
Loading…
Reference in New Issue