Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat Get rid of the damn EMUL_GET* flags.



details:   https://anonhg.NetBSD.org/src/rev/b34120d179ee
branches:  trunk
changeset: 500279:b34120d179ee
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Dec 09 07:10:34 2000 +0000

description:
Get rid of the damn EMUL_GET* flags.

diffstat:

 sys/compat/freebsd/freebsd_exec.c  |  4 ++--
 sys/compat/freebsd/syscalls.master |  8 ++++----
 sys/compat/ibcs2/ibcs2_exec.c      |  4 ++--
 sys/compat/ibcs2/syscalls.master   |  8 ++++----
 sys/compat/osf1/osf1_exec.c        |  4 ++--
 sys/compat/osf1/syscalls.master    |  8 ++++----
 sys/compat/sunos/sunos_exec.c      |  4 ++--
 sys/compat/sunos/syscalls.master   |  8 ++++----
 8 files changed, 24 insertions(+), 24 deletions(-)

diffs (198 lines):

diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/freebsd/freebsd_exec.c
--- a/sys/compat/freebsd/freebsd_exec.c Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/freebsd/freebsd_exec.c Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_exec.c,v 1.10 2000/12/01 19:13:47 jdolecek Exp $       */
+/*     $NetBSD: freebsd_exec.c,v 1.11 2000/12/09 07:10:34 mycroft Exp $        */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -56,5 +56,5 @@
        NULL,
        NULL,
        NULL,
-       EMUL_HAS_SYS___syscall|EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID,
+       EMUL_HAS_SYS___syscall,
 };
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/freebsd/syscalls.master
--- a/sys/compat/freebsd/syscalls.master        Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/freebsd/syscalls.master        Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.32 2000/12/09 05:27:29 mycroft Exp $
+       $NetBSD: syscalls.master,v 1.33 2000/12/09 07:10:35 mycroft Exp $
 
 ;      from: @(#)syscalls.master       8.2 (Berkeley) 1/13/94
 
@@ -88,13 +88,13 @@
                            int flags); }
 19     NOARGS          { long compat_43_sys_lseek(int fd, long offset, \
                            int whence); } olseek
-20     NOARGS          { pid_t sys_getpid(void); }
+20     NOARGS          { pid_t sys_getpid_with_ppid(void); }
 21     STD             { int freebsd_sys_mount(int type, const char *path, \
                            int flags, caddr_t data); }
 22     STD             { int freebsd_sys_unmount(const char *path, \
                            int flags); }
 23     NOARGS          { int sys_setuid(uid_t uid); }
-24     NOARGS          { uid_t sys_getuid(void); }
+24     NOARGS          { uid_t sys_getuid_with_euid(void); }
 25     NOARGS          { uid_t sys_geteuid(void); }
 26     STD             { int freebsd_sys_ptrace(int req, pid_t pid, \
                            caddr_t addr, int data); }
@@ -133,7 +133,7 @@
 46     NOARGS          { int compat_13_sys_sigaction(int signum, \
                            const struct sigaction13 *nsa, \
                            struct sigaction13 *osa); }
-47     NOARGS          { gid_t sys_getgid(void); }
+47     NOARGS          { gid_t sys_getgid_with_egid(void); }
 48     NOARGS          { int compat_13_sys_sigprocmask(int how, \
                            int mask); }
 49     NOARGS          { int sys___getlogin(char *namebuf, u_int namelen); }
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/ibcs2/ibcs2_exec.c
--- a/sys/compat/ibcs2/ibcs2_exec.c     Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec.c     Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_exec.c,v 1.40 2000/12/02 16:09:45 jdolecek Exp $ */
+/*     $NetBSD: ibcs2_exec.c,v 1.41 2000/12/09 07:10:35 mycroft Exp $  */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -77,7 +77,7 @@
        ibcs2_e_proc_exec,
        NULL,
        NULL,
-       EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID,
+       0,
 #ifdef IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL
        ibcs2_syscall,
 #else
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/ibcs2/syscalls.master
--- a/sys/compat/ibcs2/syscalls.master  Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/ibcs2/syscalls.master  Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.24 2000/12/09 05:27:29 mycroft Exp $
+       $NetBSD: syscalls.master,v 1.25 2000/12/09 07:10:35 mycroft Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -72,12 +72,12 @@
                            struct ibcs2_stat *st); }
 19     NOARGS          { long compat_43_sys_lseek(int fd, long offset, \
                            int whence); }
-20     NOARGS          { pid_t sys_getpid(void); }
+20     NOARGS          { pid_t sys_getpid_with_ppid(void); }
 21     STD             { int ibcs2_sys_mount(char *special, char *dir, \
                            int flags, int fstype, char *data, int len); }
 22     STD             { int ibcs2_sys_umount(char *name); }
 23     STD             { int ibcs2_sys_setuid(int uid); }
-24     NOARGS          { uid_t sys_getuid(void); }
+24     NOARGS          { uid_t sys_getuid_with_euid(void); }
 25     STD             { int ibcs2_sys_stime(long *timep); }
 26     UNIMPL          ibcs2_ptrace
 27     STD             { int ibcs2_sys_alarm(unsigned sec); }
@@ -104,7 +104,7 @@
 44     UNIMPL          profil
 45     STD             { int ibcs2_sys_plock(int cmd); }
 46     STD             { int ibcs2_sys_setgid(int gid); }
-47     NOARGS          { gid_t sys_getgid(void); }
+47     NOARGS          { gid_t sys_getgid_with_egid(void); }
 48     STD             { int ibcs2_sys_sigsys(int sig, ibcs2_sig_t fp); }
 #ifdef SYSVMSG
 49     STD             { int ibcs2_sys_msgsys(int which, int a2, int a3, \
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/osf1/osf1_exec.c
--- a/sys/compat/osf1/osf1_exec.c       Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/osf1/osf1_exec.c       Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_exec.c,v 1.17 2000/12/08 21:39:30 jdolecek Exp $ */
+/* $NetBSD: osf1_exec.c,v 1.18 2000/12/09 07:10:35 mycroft Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -57,5 +57,5 @@
        NULL,
        NULL,
        NULL,
-       EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID,
+       0,
 };
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/osf1/syscalls.master
--- a/sys/compat/osf1/syscalls.master   Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/osf1/syscalls.master   Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.33 2000/12/09 05:27:30 mycroft Exp $
+       $NetBSD: syscalls.master,v 1.34 2000/12/09 07:10:36 mycroft Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -73,12 +73,12 @@
                            long bufsize, int flags); }
 19     STD             { off_t osf1_sys_lseek(int fd, off_t offset, \
                            int whence); }
-20     NOARGS          { pid_t sys_getpid(void); }
+20     NOARGS          { pid_t sys_getpid_with_ppid(void); }
 21     STD             { int osf1_sys_mount(int type, const char *path, \
                            int flags, caddr_t data); }
 22     STD             { int osf1_sys_unmount(const char *path, int flags); }
 23     STD             { int osf1_sys_setuid(uid_t uid); }
-24     NOARGS          { uid_t sys_getuid(void); }
+24     NOARGS          { uid_t sys_getuid_with_euid(void); }
 25     UNIMPL          exec_with_loader
 26     UNIMPL          ptrace
 27     STD             { int osf1_sys_recvmsg_xopen(int s, \
@@ -106,7 +106,7 @@
 45     STD             { int osf1_sys_open(const char *path, int flags, \
                            int mode); }
 46     OBSOL           sigaction
-47     NOARGS          { gid_t sys_getgid(void); }
+47     NOARGS          { gid_t sys_getgid_with_egid(void); }
 ; XXX
 48     NOARGS          { int compat_13_sys_sigprocmask(int how, \
                            sigset13_t mask); }
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/sunos/sunos_exec.c
--- a/sys/compat/sunos/sunos_exec.c     Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/sunos/sunos_exec.c     Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos_exec.c,v 1.26 2000/12/01 19:24:36 jdolecek Exp $ */
+/*     $NetBSD: sunos_exec.c,v 1.27 2000/12/09 07:10:36 mycroft Exp $  */
 
 /*
  * Copyright (c) 1993 Theo de Raadt
@@ -66,5 +66,5 @@
        NULL,
        NULL,
        NULL,
-       EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID,
+       0,
 };
diff -r 85bc9cc305f0 -r b34120d179ee sys/compat/sunos/syscalls.master
--- a/sys/compat/sunos/syscalls.master  Sat Dec 09 07:06:52 2000 +0000
+++ b/sys/compat/sunos/syscalls.master  Sat Dec 09 07:10:34 2000 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.56 2000/12/09 05:27:30 mycroft Exp $
+       $NetBSD: syscalls.master,v 1.57 2000/12/09 07:10:36 mycroft Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -73,11 +73,11 @@
 17     NOARGS          { int sys_obreak(char *nsize); } break
 18     OBSOL           old_stat
 19     NOARGS          { long compat_43_sys_lseek(int fd, long offset, int whence); }
-20     NOARGS          { pid_t sys_getpid(void); }
+20     NOARGS          { pid_t sys_getpid_with_ppid(void); }
 21     OBSOL           sunos_old_mount
 22     UNIMPL          System V umount
 23     NOARGS          { int sys_setuid(uid_t uid); }
-24     NOARGS          { uid_t sys_getuid(void); }
+24     NOARGS          { uid_t sys_getuid_with_euid(void); }
 25     STD             { int sunos_sys_stime(time_t *tp); }
 26     STD             { long sunos_sys_ptrace(int req, pid_t pid, \
                            caddr_t addr, int data, char *addr2); }
@@ -104,7 +104,7 @@
                            u_int offset, u_int scale); }
 45     UNIMPL          
 46     NOARGS          { int sys_setgid(uid_t gid); }
-47     NOARGS          { gid_t sys_getgid(void); }
+47     NOARGS          { gid_t sys_getgid_with_egid(void); }
 48     UNIMPL          sunos_ssig
 49     UNIMPL          reserved for USG
 50     UNIMPL          reserved for USG



Home | Main Index | Thread Index | Old Index