Add emulation for Linux "getcwd" syscall.

This commit is contained in:
tron 1999-03-27 01:10:56 +00:00
parent e50460f5fa
commit 5b98b641a8
3 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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