diff options
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_mmap.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c index 1ebed4cb1b6..e3dcd41089e 100644 --- a/sys/uvm/uvm_mmap.c +++ b/sys/uvm/uvm_mmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_mmap.c,v 1.177 2023/01/16 07:09:11 guenther Exp $ */ +/* $OpenBSD: uvm_mmap.c,v 1.178 2023/02/11 23:22:19 deraadt Exp $ */ /* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */ /* @@ -434,38 +434,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) */ |