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/linux/linux_file.c | |
parent | 709f6a03761958badd9ec0156375d415afc4bc87 (diff) |
mremap non-emulation; tron@lyssa.owl.de
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r-- | sys/compat/linux/linux_file.c | 22 |
1 files changed, 21 insertions, 1 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; +} |