Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch Add emulation for Linux "getcwd" syscall.
details: https://anonhg.NetBSD.org/src/rev/d01f25e12ae7
branches: trunk
changeset: 467659:d01f25e12ae7
user: tron <tron%NetBSD.org@localhost>
date: Sat Mar 27 01:10:56 1999 +0000
description:
Add emulation for Linux "getcwd" syscall.
diffstat:
sys/compat/linux/arch/alpha/syscalls.master | 7 +++++--
sys/compat/linux/arch/i386/syscalls.master | 4 ++--
sys/compat/linux/arch/m68k/syscalls.master | 4 ++--
3 files changed, 9 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 1495462d13f6 -r d01f25e12ae7 sys/compat/linux/arch/alpha/syscalls.master
--- a/sys/compat/linux/arch/alpha/syscalls.master Sat Mar 27 01:08:59 1999 +0000
+++ b/sys/compat/linux/arch/alpha/syscalls.master Sat Mar 27 01:10:56 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.7 1999/03/23 03:00:51 thorpej Exp $
+ $NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -546,4 +546,7 @@
365 STD { int linux_sys_wait4(int pid, int *status, \
int options, struct rusage *rusage); }
366 UNIMPL adjtimex
-;367-369 UNIMPL(sys_ni_syscall)
+367 NOARGS { int sys___getcwd(char *bufp, size_t length); }
+368 UNIMPL capget
+369 UNIMPL capset
+370 UNIMPL sendfile
diff -r 1495462d13f6 -r d01f25e12ae7 sys/compat/linux/arch/i386/syscalls.master
--- a/sys/compat/linux/arch/i386/syscalls.master Sat Mar 27 01:08:59 1999 +0000
+++ b/sys/compat/linux/arch/i386/syscalls.master Sat Mar 27 01:10:56 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.30 1999/03/23 03:00:52 thorpej Exp $
+ $NetBSD: syscalls.master,v 1.31 1999/03/27 01:10:57 tron Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -293,6 +293,6 @@
off_t offset); }
182 STD { int linux_sys_chown(const char *path, int uid, \
int gid); }
-183 UNIMPL getcwd
+183 NOARGS { int sys___getcwd(char *bufp, size_t length); }
184 UNIMPL capget
185 UNIMPL capset
diff -r 1495462d13f6 -r d01f25e12ae7 sys/compat/linux/arch/m68k/syscalls.master
--- a/sys/compat/linux/arch/m68k/syscalls.master Sat Mar 27 01:08:59 1999 +0000
+++ b/sys/compat/linux/arch/m68k/syscalls.master Sat Mar 27 01:10:56 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.3 1999/03/23 03:00:52 thorpej Exp $
+ $NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -319,7 +319,7 @@
;182 chown on i386; lchown on m68k.
182 STD { int linux_sys_lchown(const char *path, int uid, \
int gid); }
-183 UNIMPL getcwd
+183 NOARGS { int sys___getcwd(char *bufp, size_t length); }
184 UNIMPL capget
185 UNIMPL capset
186 UNIMPL sigaltstack
Home |
Main Index |
Thread Index |
Old Index