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



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

description:
Regen.

diffstat:

 sys/compat/linux/arch/i386/linux_syscall.h     |  21 ++++++++++++++--
 sys/compat/linux/arch/i386/linux_syscallargs.h |  33 ++++++++++++++++++++++++-
 sys/compat/linux/arch/i386/linux_syscalls.c    |  17 ++++++++----
 sys/compat/linux/arch/i386/linux_sysent.c      |  30 +++++++++++++++-------
 4 files changed, 80 insertions(+), 21 deletions(-)

diffs (219 lines):

diff -r 314d89099ece -r 99930ff2011d sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Fri May 14 18:43:01 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Fri May 14 18:43:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscall.h,v 1.9 1999/05/13 23:43:16 thorpej Exp $        */
+/*     $NetBSD: linux_syscall.h,v 1.10 1999/05/14 18:43:20 thorpej Exp $       */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.33 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.34 1999/05/14 18:43:01 thorpej Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -383,9 +383,21 @@
 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
 #define        LINUX_SYS_mremap        163
 
+/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
+#define        LINUX_SYS_setresuid     164
+
+/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
+#define        LINUX_SYS_getresuid     165
+
 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
 #define        LINUX_SYS_poll  168
 
+/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
+#define        LINUX_SYS_setresgid     170
+
+/* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
+#define        LINUX_SYS_getresgid     171
+
 /* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */
 #define        LINUX_SYS_rt_sigreturn  173
 
@@ -416,4 +428,7 @@
 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
 #define        LINUX_SYS___getcwd      183
 
-#define        LINUX_SYS_MAXSYSCALL    186
+/* syscall: "__vfork14" ret: "int" args: */
+#define        LINUX_SYS___vfork14     190
+
+#define        LINUX_SYS_MAXSYSCALL    191
diff -r 314d89099ece -r 99930ff2011d sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Fri May 14 18:43:01 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Fri May 14 18:43:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscallargs.h,v 1.9 1999/05/13 23:43:16 thorpej Exp $    */
+/*     $NetBSD: linux_syscallargs.h,v 1.10 1999/05/14 18:43:20 thorpej Exp $   */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.33 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.34 1999/05/14 18:43:01 thorpej Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -357,6 +357,30 @@
        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_setresgid_args {
+       syscallarg(gid_t) rgid;
+       syscallarg(gid_t) egid;
+       syscallarg(gid_t) sgid;
+};
+
+struct linux_sys_getresgid_args {
+       syscallarg(gid_t *) rgid;
+       syscallarg(gid_t *) egid;
+       syscallarg(gid_t *) sgid;
+};
+
 struct linux_sys_rt_sigreturn_args {
        syscallarg(struct linux_rt_sigframe *) sfp;
 };
@@ -523,7 +547,11 @@
 int    sys_munlock     __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_poll        __P((struct proc *, void *, register_t *));
+int    linux_sys_setresgid     __P((struct proc *, void *, register_t *));
+int    linux_sys_getresgid     __P((struct proc *, void *, register_t *));
 int    linux_sys_rt_sigreturn  __P((struct proc *, void *, register_t *));
 int    linux_sys_rt_sigaction  __P((struct proc *, void *, register_t *));
 int    linux_sys_rt_sigprocmask        __P((struct proc *, void *, register_t *));
@@ -534,4 +562,5 @@
 int    sys_pwrite      __P((struct proc *, void *, register_t *));
 int    linux_sys_chown __P((struct proc *, void *, register_t *));
 int    sys___getcwd    __P((struct proc *, void *, register_t *));
+int    sys___vfork14   __P((struct proc *, void *, register_t *));
 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 314d89099ece -r 99930ff2011d sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c       Fri May 14 18:43:01 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c       Fri May 14 18:43:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscalls.c,v 1.9 1999/05/13 23:43:16 thorpej Exp $       */
+/*     $NetBSD: linux_syscalls.c,v 1.10 1999/05/14 18:43:20 thorpej Exp $      */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.33 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.34 1999/05/14 18:43:01 thorpej Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -187,14 +187,14 @@
        "#161 (unimplemented sched_rr_get_interval)",           /* 161 = unimplemented sched_rr_get_interval */
        "nanosleep",                    /* 162 = nanosleep */
        "mremap",                       /* 163 = mremap */
-       "#164 (unimplemented setresuid)",               /* 164 = unimplemented setresuid */
-       "#165 (unimplemented getresuid)",               /* 165 = unimplemented getresuid */
+       "setresuid",                    /* 164 = setresuid */
+       "getresuid",                    /* 165 = getresuid */
        "#166 (unimplemented vm86)",            /* 166 = unimplemented vm86 */
        "#167 (unimplemented query_module)",            /* 167 = unimplemented query_module */
        "poll",                 /* 168 = poll */
        "#169 (unimplemented nfsservctl)",              /* 169 = unimplemented nfsservctl */
-       "#170 (unimplemented setresgid)",               /* 170 = unimplemented setresgid */
-       "#171 (unimplemented setresgid)",               /* 171 = unimplemented setresgid */
+       "setresgid",                    /* 170 = setresgid */
+       "getresgid",                    /* 171 = getresgid */
        "#172 (unimplemented prctl)",           /* 172 = unimplemented prctl */
        "rt_sigreturn",                 /* 173 = rt_sigreturn */
        "rt_sigaction",                 /* 174 = rt_sigaction */
@@ -209,4 +209,9 @@
        "__getcwd",                     /* 183 = __getcwd */
        "#184 (unimplemented capget)",          /* 184 = unimplemented capget */
        "#185 (unimplemented capset)",          /* 185 = unimplemented capset */
+       "#186 (unimplemented sigaltstack)",             /* 186 = unimplemented sigaltstack */
+       "#187 (unimplemented sendfile)",                /* 187 = unimplemented sendfile */
+       "#188 (unimplemented getpmsg)",         /* 188 = unimplemented getpmsg */
+       "#189 (unimplemented putpmsg)",         /* 189 = unimplemented putpmsg */
+       "__vfork14",                    /* 190 = __vfork14 */
 };
diff -r 314d89099ece -r 99930ff2011d sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Fri May 14 18:43:01 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Fri May 14 18:43:20 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_sysent.c,v 1.9 1999/05/13 23:43:16 thorpej Exp $ */
+/*     $NetBSD: linux_sysent.c,v 1.10 1999/05/14 18:43:21 thorpej Exp $        */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.33 1999/05/13 23:42:34 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.34 1999/05/14 18:43:01 thorpej Exp 
  */
 
 #include "opt_compat_43.h"
@@ -351,10 +351,10 @@
            sys_nanosleep },                    /* 162 = nanosleep */
        { 4, s(struct linux_sys_mremap_args),
            linux_sys_mremap },                 /* 163 = mremap */
-       { 0, 0,
-           sys_nosys },                        /* 164 = unimplemented setresuid */
-       { 0, 0,
-           sys_nosys },                        /* 165 = unimplemented getresuid */
+       { 3, s(struct linux_sys_setresuid_args),
+           linux_sys_setresuid },              /* 164 = setresuid */
+       { 3, s(struct linux_sys_getresuid_args),
+           linux_sys_getresuid },              /* 165 = getresuid */
        { 0, 0,
            sys_nosys },                        /* 166 = unimplemented vm86 */
        { 0, 0,
@@ -363,10 +363,10 @@
            sys_poll },                         /* 168 = poll */
        { 0, 0,
            sys_nosys },                        /* 169 = unimplemented nfsservctl */
-       { 0, 0,
-           sys_nosys },                        /* 170 = unimplemented setresgid */
-       { 0, 0,
-           sys_nosys },                        /* 171 = unimplemented setresgid */
+       { 3, s(struct linux_sys_setresgid_args),
+           linux_sys_setresgid },              /* 170 = setresgid */
+       { 3, s(struct linux_sys_getresgid_args),
+           linux_sys_getresgid },              /* 171 = getresgid */
        { 0, 0,
            sys_nosys },                        /* 172 = unimplemented prctl */
        { 1, s(struct linux_sys_rt_sigreturn_args),
@@ -395,5 +395,15 @@
            sys_nosys },                        /* 184 = unimplemented capget */
        { 0, 0,
            sys_nosys },                        /* 185 = unimplemented capset */
+       { 0, 0,
+           sys_nosys },                        /* 186 = unimplemented sigaltstack */
+       { 0, 0,
+           sys_nosys },                        /* 187 = unimplemented sendfile */
+       { 0, 0,
+           sys_nosys },                        /* 188 = unimplemented getpmsg */
+       { 0, 0,
+           sys_nosys },                        /* 189 = unimplemented putpmsg */
+       { 0, 0,
+           sys___vfork14 },                    /* 190 = __vfork14 */
 };
 



Home | Main Index | Thread Index | Old Index