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



details:   https://anonhg.NetBSD.org/src/rev/053eb6bcfa7a
branches:  trunk
changeset: 472966:053eb6bcfa7a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 14 18:39:38 1999 +0000

description:
Emulate the Linux vfork(2) (which is like OSF/1 vfork(2) and NetBSD's
__vfork14(2)) and {get,set}resuid(2).  Linux does not have {get,set}resgid(2)
on their Alpha port!

diffstat:

 sys/compat/linux/arch/alpha/syscalls.master |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 9bac6fca389a -r 053eb6bcfa7a sys/compat/linux/arch/alpha/syscalls.master
--- a/sys/compat/linux/arch/alpha/syscalls.master       Fri May 14 16:01:11 1999 +0000
+++ b/sys/compat/linux/arch/alpha/syscalls.master       Fri May 14 18:39:38 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.10 1999/05/13 23:42:34 thorpej Exp $
+       $NetBSD: syscalls.master,v 1.11 1999/05/14 18:39:38 thorpej Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -147,7 +147,7 @@
 63     NOARGS          { int sys_getpgrp(void); }
 64     NOARGS          { int compat_43_sys_getpagesize(void); }
 65     UNIMPL
-66     UNIMPL          osf_vfork
+66     NOARGS          { int sys___vfork14(void); }
 67     STD             { int linux_sys_stat(char *path, \
                            struct linux_stat *sp); }
 68     STD             { int linux_sys_lstat(char *path, \
@@ -499,8 +499,10 @@
 341    STD             { void *linux_sys_mremap(void *old_address, \
                            size_t old_size, size_t new_size, u_long flags); }
 342    UNIMPL          nfsservctl
-343    UNIMPL          setresgid
-344    UNIMPL          getresgid
+343    STD             { int linux_sys_setresuid(uid_t ruid, uid_t euid, \
+                           uid_t suid); }
+344    STD             { int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
+                           uid_t *suid); }
 345    UNIMPL          pciconfig_read
 346    UNIMPL          pciconfig_write
 347    UNIMPL          query_module



Home | Main Index | Thread Index | Old Index