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/m68k Emulate the Linux vfork(2) (which...



details:   https://anonhg.NetBSD.org/src/rev/b5d89d66f1c1
branches:  trunk
changeset: 472970:b5d89d66f1c1
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 14 18:43:58 1999 +0000

description:
Emulate the Linux vfork(2) (which is like NetBSD's __vfork14(2)),
{get,set}resuid(2), and {get,set}resgid(2).  Note a few more system
calls that we don't yet emulate.

diffstat:

 sys/compat/linux/arch/m68k/syscalls.master |  21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r 99930ff2011d -r b5d89d66f1c1 sys/compat/linux/arch/m68k/syscalls.master
--- a/sys/compat/linux/arch/m68k/syscalls.master        Fri May 14 18:43:20 1999 +0000
+++ b/sys/compat/linux/arch/m68k/syscalls.master        Fri May 14 18:43:58 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.6 1999/05/13 23:42:34 thorpej Exp $
+       $NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -286,15 +286,19 @@
                                struct timespec *rmtp); }
 163    STD             { void *linux_sys_mremap(void *old_address, \
                            size_t old_size, size_t new_size, u_long flags); }
-164    UNIMPL          setresuid
-165    UNIMPL          getresuid
+164    STD             { int linux_sys_setresuid(uid_t ruid, uid_t euid, \
+                           uid_t suid); }
+165    STD             { int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
+                           uid_t *suid); }
 166    UNIMPL          vm86
 167    UNIMPL          query_module
 168    NOARGS          { int sys_poll(struct pollfd *fds, u_int nfds, \
                            int timeout); }
 169    UNIMPL          nfsservctl
-170    UNIMPL          setresgid
-171    UNIMPL          setresgid
+170    STD             { int linux_sys_setresgid(gid_t rgid, gid_t egid, \
+                           gid_t sgid); }
+171    STD             { int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
+                           gid_t *sgid); }
 172    UNIMPL          prctl
 173    STD             { int linux_sys_rt_sigreturn(void); }
 174    STD             { int linux_sys_rt_sigaction(int signum, \
@@ -325,6 +329,7 @@
 184    UNIMPL          capget
 185    UNIMPL          capset
 186    UNIMPL          sigaltstack
-;187   UNIMPL          sendfile
-;188   UNIMPL          streams1
-;189   UNIMPL          streams2
+187    UNIMPL          sendfile
+188    UNIMPL          getpmsg
+189    UNIMPL          putpmsg
+190    NOARGS          { int sys___vfork14(void); }



Home | Main Index | Thread Index | Old Index