From e000c5368435b1b03711ec2009b702ef8f48669c Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 14 Aug 1999 18:19:00 +0000 Subject: [PATCH] Extend the number of syscalls to include those present in Linux 2.2.10. These are syscalls 183 to 190. Also implement syscall 183: linux_getcwd. This is needed to support a RH 6.0 environment. --- sys/alpha/linux/syscalls.master | 10 +++++++++- sys/i386/linux/syscalls.master | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master index 94aecb7454d..80776539aa9 100644 --- a/sys/alpha/linux/syscalls.master +++ b/sys/alpha/linux/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.18 1999/08/12 19:51:03 marcel Exp $ + $Id: syscalls.master,v 1.19 1999/08/14 17:14:13 marcel Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; System call name/number master file (or rather, slave, from LINUX). @@ -263,3 +263,11 @@ 180 UNIMPL LINUX pread 181 UNIMPL LINUX pwrite 182 STD LINUX { int linux_chown(char *path, int uid, int gid); } +183 STD LINUX { int linux_getcwd(char *buf, unsigned long bufsize); } +184 UNIMPL LINUX capget +185 UNIMPL LINUX capset +186 UNIMPL LINUX sigaltstack +187 UNIMPL LINUX sendfile +188 UNIMPL LINUX getpmsg +189 UNIMPL LINUX putpmsg +190 UNIMPL LINUX vfork diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 94aecb7454d..80776539aa9 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.18 1999/08/12 19:51:03 marcel Exp $ + $Id: syscalls.master,v 1.19 1999/08/14 17:14:13 marcel Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; System call name/number master file (or rather, slave, from LINUX). @@ -263,3 +263,11 @@ 180 UNIMPL LINUX pread 181 UNIMPL LINUX pwrite 182 STD LINUX { int linux_chown(char *path, int uid, int gid); } +183 STD LINUX { int linux_getcwd(char *buf, unsigned long bufsize); } +184 UNIMPL LINUX capget +185 UNIMPL LINUX capset +186 UNIMPL LINUX sigaltstack +187 UNIMPL LINUX sendfile +188 UNIMPL LINUX getpmsg +189 UNIMPL LINUX putpmsg +190 UNIMPL LINUX vfork