From ee2bf048884822eed87bd22a354b7a8042f61fe3 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 13 Nov 1997 06:37:48 +0000 Subject: put mremap() in linux_misc.c --- sys/compat/linux/linux_misc.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_misc.c') diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 79ebbb06371..bace5aa9cd3 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.10 1997/11/06 05:58:04 csapuntz Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.11 1997/11/13 06:37:49 deraadt Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /* @@ -512,6 +512,23 @@ linux_sys_mmap(p, v, retval) return sys_mmap(p, &cma, retval); } +int +linux_sys_mremap(p, v, retval) + struct proc *p; + void *v; + register_t *retval; +{ +#ifdef notyet + struct linux_sys_mremap_args /* { + syscallarg(void *) old_address; + syscallarg(size_t) old_size; + syscallarg(size_t) new_size; + syscallarg(u_long) flags; + } */ *uap = v; +#endif + return (ENOMEM); +} + int linux_sys_msync(p, v, retval) struct proc *p; -- cgit v1.2.3-59-g8ed1b