summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-20 05:56:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-20 05:56:37 +0000
commit08679da1950d42442c6e0b053c5aab1cb76ea05d (patch)
tree3465a256f3d89a908da9d89492ecb0cfa8fd7ff2 /sys/uvm
parent3cb09a2693afe808605255323746d2938b70f8d2 (diff)
the _pad_ system calls from 2021/12/23 can go away
ok guenther
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_mmap.c34
1 files changed, 1 insertions, 33 deletions
diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c
index d44941a5e95..e1c318b8375 100644
--- a/sys/uvm/uvm_mmap.c
+++ b/sys/uvm/uvm_mmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_mmap.c,v 1.170 2022/06/27 14:26:06 cheloha Exp $ */
+/* $OpenBSD: uvm_mmap.c,v 1.171 2022/07/20 05:56:36 deraadt Exp $ */
/* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -439,38 +439,6 @@ out:
return error;
}
-#if 1
-int
-sys_pad_mquery(struct proc *p, void *v, register_t *retval)
-{
- struct sys_pad_mquery_args *uap = v;
- struct sys_mquery_args unpad;
-
- SCARG(&unpad, addr) = SCARG(uap, addr);
- SCARG(&unpad, len) = SCARG(uap, len);
- SCARG(&unpad, prot) = SCARG(uap, prot);
- SCARG(&unpad, flags) = SCARG(uap, flags);
- SCARG(&unpad, fd) = SCARG(uap, fd);
- SCARG(&unpad, pos) = SCARG(uap, pos);
- return sys_mquery(p, &unpad, retval);
-}
-
-int
-sys_pad_mmap(struct proc *p, void *v, register_t *retval)
-{
- struct sys_pad_mmap_args *uap = v;
- struct sys_mmap_args unpad;
-
- SCARG(&unpad, addr) = SCARG(uap, addr);
- SCARG(&unpad, len) = SCARG(uap, len);
- SCARG(&unpad, prot) = SCARG(uap, prot);
- SCARG(&unpad, flags) = SCARG(uap, flags);
- SCARG(&unpad, fd) = SCARG(uap, fd);
- SCARG(&unpad, pos) = SCARG(uap, pos);
- return sys_mmap(p, &unpad, retval);
-}
-#endif
-
/*
* sys_msync: the msync system call (a front-end for flush)
*/