diff options
| author | 2001-01-29 07:23:54 +0000 | |
|---|---|---|
| committer | 2001-01-29 07:23:54 +0000 | |
| commit | e7fc0212ed249c99675089a76eb0255c83dcd2c6 (patch) | |
| tree | 6ab40dd38974e041e751dfa567beab7a1f012eb2 | |
| parent | Allow syscall aliasing to allow for multiple linux syscalls to be mapped (diff) | |
| download | wireguard-openbsd-e7fc0212ed249c99675089a76eb0255c83dcd2c6.tar.xz wireguard-openbsd-e7fc0212ed249c99675089a76eb0255c83dcd2c6.zip | |
implement ftruncate64
| -rw-r--r-- | sys/compat/linux/linux_dummy.c | 3 | ||||
| -rw-r--r-- | sys/compat/linux/syscalls.master | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index 304692cfdd0..e4b66d15a5e 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_dummy.c,v 1.2 2000/12/22 07:34:02 jasoni Exp $ */ +/* $OpenBSD: linux_dummy.c,v 1.3 2001/01/29 07:23:54 jasoni Exp $ */ /*- * Copyright (c) 1994-1995 Søren Schmidt @@ -115,4 +115,3 @@ DUMMY(sendfile); /* #187 */ DUMMY(getpmsg); /* #188 */ DUMMY(putpmsg); /* #189 */ DUMMY(mmap2); /* #192 */ -DUMMY(ftruncate64); /* #194 */ diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master index 033c3d53f4b..20831cf90f2 100644 --- a/sys/compat/linux/syscalls.master +++ b/sys/compat/linux/syscalls.master @@ -1,4 +1,4 @@ - $OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp $ + $OpenBSD: syscalls.master,v 1.27 2001/01/29 07:23:54 jasoni Exp $ ; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -308,7 +308,7 @@ 192 STD { int linux_sys_mmap2(void); } 193 STD { int linux_sys_truncate64(char *path, \ off_t length); } -194 STD { int linux_sys_ftruncate64(void); } +194 NOARGS linux_ftruncate64 { int sys_ftruncate(int fd, off_t length); } 195 STD { int linux_sys_stat64(char *path, \ struct linux_stat64 *sp); } 196 STD { int linux_sys_lstat64(char *path, \ |
