summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-13 06:37:48 +0000
committerderaadt <deraadt@openbsd.org>1997-11-13 06:37:48 +0000
commitee2bf048884822eed87bd22a354b7a8042f61fe3 (patch)
tree4d5a75a25a1faceab8ef7e67bdb7bf15ebd391ad /sys/compat/linux/linux_misc.c
parentBug fixes from Sleepycat Software for db_btree databases; for some corner (diff)
downloadwireguard-openbsd-ee2bf048884822eed87bd22a354b7a8042f61fe3.tar.xz
wireguard-openbsd-ee2bf048884822eed87bd22a354b7a8042f61fe3.zip
put mremap() in linux_misc.c
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c19
1 files changed, 18 insertions, 1 deletions
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 $ */
/*
@@ -513,6 +513,23 @@ linux_sys_mmap(p, v, 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;
void *v;