diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-27 21:01:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-27 21:01:38 +0000 |
commit | bbbe77aca187fc3995b6a7b695b634770e9d57b3 (patch) | |
tree | 7624a452f3a6a4025d772428b04d088606814020 /sys/compat | |
parent | 709f6a03761958badd9ec0156375d415afc4bc87 (diff) |
mremap non-emulation; tron@lyssa.owl.de
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_file.c | 22 | ||||
-rw-r--r-- | sys/compat/linux/syscalls.master | 5 |
2 files changed, 24 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 7b058a03ac6..4ebcd245402 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_file.c,v 1.6 1997/01/27 00:50:30 downsj Exp $ */ +/* $OpenBSD: linux_file.c,v 1.7 1997/07/27 21:01:36 deraadt Exp $ */ /* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */ /* @@ -821,3 +821,23 @@ linux_sys_fdatasync(p, v, retval) } */ *uap = v; return sys_fsync(p, uap, retval); } + +/* + * mremap() dummy +*/ +int +linux_sys_mremap(p, v, retval) + struct proc *p; + void *v; + register_t *retval; +{ +#ifdef notdef + struct linux_sys_mremap_args /* { + syscallarg(void *) old_address; + syscallarg(size_t) old_size; + syscallarg(size_t) new_size; + syscallarg(unsigned long) flags; + } */ *uap = v; +#endif + return ENOMEM; +} diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master index 86f3b30de4b..96999e964af 100644 --- a/sys/compat/linux/syscalls.master +++ b/sys/compat/linux/syscalls.master @@ -1,4 +1,4 @@ - $OpenBSD: syscalls.master,v 1.8 1997/04/14 11:16:31 graichen Exp $ + $OpenBSD: syscalls.master,v 1.9 1997/07/27 21:01:37 deraadt Exp $ ; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -256,4 +256,5 @@ 160 UNIMPL sched_get_priority_min 161 UNIMPL sched_rr_get_interval 162 UNIMPL nanosleep -163 UNIMPL mremap +163 STD { int mremap(void *old_address, size_t old_size, \ + size_t new_size, long flags); } |