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 Regen.



details:   https://anonhg.NetBSD.org/src/rev/f127f3bef8e8
branches:  trunk
changeset: 472967:f127f3bef8e8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 14 18:41:20 1999 +0000

description:
Regen.

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h     |  13 +++++++++++--
 sys/compat/linux/arch/alpha/linux_syscallargs.h |  19 +++++++++++++++++--
 sys/compat/linux/arch/alpha/linux_syscalls.c    |  10 +++++-----
 sys/compat/linux/arch/alpha/linux_sysent.c      |  14 +++++++-------
 4 files changed, 40 insertions(+), 16 deletions(-)

diffs (167 lines):

diff -r 053eb6bcfa7a -r f127f3bef8e8 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Fri May 14 18:39:38 1999 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Fri May 14 18:41:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscall.h,v 1.10 1999/05/13 23:43:15 thorpej Exp $       */
+/*     $NetBSD: linux_syscall.h,v 1.11 1999/05/14 18:41:20 thorpej Exp $       */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 1999/05/14 18:39:38 thorpej Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -118,6 +118,9 @@
 /* syscall: "getpagesize" ret: "int" args: */
 #define        LINUX_SYS_getpagesize   64
 
+/* syscall: "__vfork14" ret: "int" args: */
+#define        LINUX_SYS___vfork14     66
+
 /* syscall: "stat" ret: "int" args: "char *" "struct linux_stat *" */
 #define        LINUX_SYS_stat  67
 
@@ -367,6 +370,12 @@
 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
 #define        LINUX_SYS_mremap        341
 
+/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
+#define        LINUX_SYS_setresuid     343
+
+/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
+#define        LINUX_SYS_getresuid     344
+
 /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pread 349
 
diff -r 053eb6bcfa7a -r f127f3bef8e8 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Fri May 14 18:39:38 1999 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Fri May 14 18:41:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscallargs.h,v 1.10 1999/05/13 23:43:15 thorpej Exp $   */
+/*     $NetBSD: linux_syscallargs.h,v 1.11 1999/05/14 18:41:20 thorpej Exp $   */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 1999/05/14 18:39:38 thorpej Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -289,6 +289,18 @@
        syscallarg(u_long) flags;
 };
 
+struct linux_sys_setresuid_args {
+       syscallarg(uid_t) ruid;
+       syscallarg(uid_t) euid;
+       syscallarg(uid_t) suid;
+};
+
+struct linux_sys_getresuid_args {
+       syscallarg(uid_t *) ruid;
+       syscallarg(uid_t *) euid;
+       syscallarg(uid_t *) suid;
+};
+
 struct linux_sys_rt_sigreturn_args {
        syscallarg(struct linux_rt_sigframe *) sfp;
 };
@@ -379,6 +391,7 @@
 int    sys_chroot      __P((struct proc *, void *, register_t *));
 int    sys_getpgrp     __P((struct proc *, void *, register_t *));
 int    compat_43_sys_getpagesize       __P((struct proc *, void *, register_t *));
+int    sys___vfork14   __P((struct proc *, void *, register_t *));
 int    linux_sys_stat  __P((struct proc *, void *, register_t *));
 int    linux_sys_lstat __P((struct proc *, void *, register_t *));
 int    linux_sys_mmap  __P((struct proc *, void *, register_t *));
@@ -474,6 +487,8 @@
 int    linux_sys_uname __P((struct proc *, void *, register_t *));
 int    sys_nanosleep   __P((struct proc *, void *, register_t *));
 int    linux_sys_mremap        __P((struct proc *, void *, register_t *));
+int    linux_sys_setresuid     __P((struct proc *, void *, register_t *));
+int    linux_sys_getresuid     __P((struct proc *, void *, register_t *));
 int    sys_pread       __P((struct proc *, void *, register_t *));
 int    sys_pwrite      __P((struct proc *, void *, register_t *));
 int    linux_sys_rt_sigreturn  __P((struct proc *, void *, register_t *));
diff -r 053eb6bcfa7a -r f127f3bef8e8 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Fri May 14 18:39:38 1999 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Fri May 14 18:41:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscalls.c,v 1.10 1999/05/13 23:43:15 thorpej Exp $      */
+/*     $NetBSD: linux_syscalls.c,v 1.11 1999/05/14 18:41:20 thorpej Exp $      */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 1999/05/14 18:39:38 thorpej Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -94,7 +94,7 @@
        "getpgrp",                      /* 63 = getpgrp */
        "getpagesize",                  /* 64 = getpagesize */
        "#65 (unimplemented)",          /* 65 = unimplemented */
-       "#66 (unimplemented osf_vfork)",                /* 66 = unimplemented osf_vfork */
+       "__vfork14",                    /* 66 = __vfork14 */
        "stat",                 /* 67 = stat */
        "lstat",                        /* 68 = lstat */
        "#69 (unimplemented)",          /* 69 = unimplemented */
@@ -395,8 +395,8 @@
        "nanosleep",                    /* 340 = nanosleep */
        "mremap",                       /* 341 = mremap */
        "#342 (unimplemented nfsservctl)",              /* 342 = unimplemented nfsservctl */
-       "#343 (unimplemented setresgid)",               /* 343 = unimplemented setresgid */
-       "#344 (unimplemented getresgid)",               /* 344 = unimplemented getresgid */
+       "setresuid",                    /* 343 = setresuid */
+       "getresuid",                    /* 344 = getresuid */
        "#345 (unimplemented pciconfig_read)",          /* 345 = unimplemented pciconfig_read */
        "#346 (unimplemented pciconfig_write)",         /* 346 = unimplemented pciconfig_write */
        "#347 (unimplemented query_module)",            /* 347 = unimplemented query_module */
diff -r 053eb6bcfa7a -r f127f3bef8e8 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Fri May 14 18:39:38 1999 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Fri May 14 18:41:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_sysent.c,v 1.11 1999/05/13 23:43:15 thorpej Exp $        */
+/*     $NetBSD: linux_sysent.c,v 1.12 1999/05/14 18:41:20 thorpej Exp $        */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 1999/05/14 18:39:38 thorpej Exp 
  */
 
 #include "opt_sysv.h"
@@ -161,7 +161,7 @@
        { 0, 0,
            sys_nosys },                        /* 65 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 66 = unimplemented osf_vfork */
+           sys___vfork14 },                    /* 66 = __vfork14 */
        { 2, s(struct linux_sys_stat_args),
            linux_sys_stat },                   /* 67 = stat */
        { 2, s(struct linux_sys_lstat_args),
@@ -750,10 +750,10 @@
            linux_sys_mremap },                 /* 341 = mremap */
        { 0, 0,
            sys_nosys },                        /* 342 = unimplemented nfsservctl */
-       { 0, 0,
-           sys_nosys },                        /* 343 = unimplemented setresgid */
-       { 0, 0,
-           sys_nosys },                        /* 344 = unimplemented getresgid */
+       { 3, s(struct linux_sys_setresuid_args),
+           linux_sys_setresuid },              /* 343 = setresuid */
+       { 3, s(struct linux_sys_getresuid_args),
+           linux_sys_getresuid },              /* 344 = getresuid */
        { 0, 0,
            sys_nosys },                        /* 345 = unimplemented pciconfig_read */
        { 0, 0,



Home | Main Index | Thread Index | Old Index