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 regen



details:   https://anonhg.NetBSD.org/src/rev/af2748d223a1
branches:  trunk
changeset: 481663:af2748d223a1
user:      abs <abs%NetBSD.org@localhost>
date:      Thu Feb 03 10:22:34 2000 +0000

description:
regen

diffstat:

 sys/compat/linux/arch/i386/linux_syscall.h     |  8 +++++++-
 sys/compat/linux/arch/i386/linux_syscallargs.h |  8 +++++++-
 sys/compat/linux/arch/i386/linux_syscalls.c    |  6 +++---
 sys/compat/linux/arch/i386/linux_sysent.c      |  8 ++++----
 sys/compat/linux/arch/m68k/linux_syscall.h     |  8 +++++++-
 sys/compat/linux/arch/m68k/linux_syscallargs.h |  8 +++++++-
 sys/compat/linux/arch/m68k/linux_syscalls.c    |  6 +++---
 sys/compat/linux/arch/m68k/linux_sysent.c      |  8 ++++----
 8 files changed, 42 insertions(+), 18 deletions(-)

diffs (188 lines):

diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscall.h,v 1.15 1999/12/12 00:00:42 tron Exp $  */
+/*     $NetBSD: linux_syscall.h,v 1.16 2000/02/03 10:22:34 abs Exp $   */
 
 /*
  * System call numbers.
@@ -347,6 +347,12 @@
 /* syscall: "personality" ret: "int" args: "int" */
 #define        LINUX_SYS_personality   136
 
+/* syscall: "setfsuid" ret: "int" args: "uid_t" */
+#define        LINUX_SYS_setfsuid      138
+
+/* syscall: "getfsuid" ret: "int" args: */
+#define        LINUX_SYS_getfsuid      139
+
 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
 #define        LINUX_SYS_llseek        140
 
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscallargs.h,v 1.15 1999/12/12 00:00:42 tron Exp $      */
+/*     $NetBSD: linux_syscallargs.h,v 1.16 2000/02/03 10:22:35 abs Exp $       */
 
 /*
  * System call argument lists.
@@ -325,6 +325,10 @@
        syscallarg(int) per;
 };
 
+struct linux_sys_setfsuid_args {
+       syscallarg(uid_t) uid;
+};
+
 struct linux_sys_llseek_args {
        syscallarg(int) fd;
        syscallarg(u_int32_t) ohigh;
@@ -588,6 +592,8 @@
 int    linux_sys_getpgid       __P((struct proc *, void *, register_t *));
 int    sys_fchdir      __P((struct proc *, void *, register_t *));
 int    linux_sys_personality   __P((struct proc *, void *, register_t *));
+int    linux_sys_setfsuid      __P((struct proc *, void *, register_t *));
+int    linux_sys_getfsuid      __P((struct proc *, void *, register_t *));
 int    linux_sys_llseek        __P((struct proc *, void *, register_t *));
 int    linux_sys_getdents      __P((struct proc *, void *, register_t *));
 int    linux_sys_select        __P((struct proc *, void *, register_t *));
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c       Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c       Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscalls.c,v 1.15 1999/12/12 00:00:42 tron Exp $ */
+/*     $NetBSD: linux_syscalls.c,v 1.16 2000/02/03 10:22:35 abs Exp $  */
 
 /*
  * System call names.
@@ -161,8 +161,8 @@
        "#135 (unimplemented sysfs)",           /* 135 = unimplemented sysfs */
        "personality",                  /* 136 = personality */
        "#137 (unimplemented afs_syscall)",             /* 137 = unimplemented afs_syscall */
-       "#138 (unimplemented setfsuid)",                /* 138 = unimplemented setfsuid */
-       "#139 (unimplemented getfsuid)",                /* 139 = unimplemented getfsuid */
+       "setfsuid",                     /* 138 = setfsuid */
+       "getfsuid",                     /* 139 = getfsuid */
        "llseek",                       /* 140 = llseek */
        "getdents",                     /* 141 = getdents */
        "select",                       /* 142 = select */
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sysent.c,v 1.15 1999/12/12 00:00:42 tron Exp $   */
+/*     $NetBSD: linux_sysent.c,v 1.16 2000/02/03 10:22:36 abs Exp $    */
 
 /*
  * System call switch table.
@@ -299,10 +299,10 @@
            linux_sys_personality },            /* 136 = personality */
        { 0, 0,
            sys_nosys },                        /* 137 = unimplemented afs_syscall */
+       { 1, s(struct linux_sys_setfsuid_args),
+           linux_sys_setfsuid },               /* 138 = setfsuid */
        { 0, 0,
-           sys_nosys },                        /* 138 = unimplemented setfsuid */
-       { 0, 0,
-           sys_nosys },                        /* 139 = unimplemented getfsuid */
+           linux_sys_getfsuid },               /* 139 = getfsuid */
        { 5, s(struct linux_sys_llseek_args),
            linux_sys_llseek },                 /* 140 = llseek */
        { 3, s(struct linux_sys_getdents_args),
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h        Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h        Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscall.h,v 1.12 1999/12/16 15:13:42 tron Exp $  */
+/*     $NetBSD: linux_syscall.h,v 1.13 2000/02/03 10:22:37 abs Exp $   */
 
 /*
  * System call numbers.
@@ -333,6 +333,12 @@
 /* syscall: "personality" ret: "int" args: "int" */
 #define        LINUX_SYS_personality   136
 
+/* syscall: "setfsuid" ret: "int" args: "uid_t" */
+#define        LINUX_SYS_setfsuid      138
+
+/* syscall: "getfsuid" ret: "int" args: */
+#define        LINUX_SYS_getfsuid      139
+
 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
 #define        LINUX_SYS_llseek        140
 
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h    Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h    Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscallargs.h,v 1.12 1999/12/16 15:13:42 tron Exp $      */
+/*     $NetBSD: linux_syscallargs.h,v 1.13 2000/02/03 10:22:37 abs Exp $       */
 
 /*
  * System call argument lists.
@@ -300,6 +300,10 @@
        syscallarg(int) per;
 };
 
+struct linux_sys_setfsuid_args {
+       syscallarg(uid_t) uid;
+};
+
 struct linux_sys_llseek_args {
        syscallarg(int) fd;
        syscallarg(u_int32_t) ohigh;
@@ -572,6 +576,8 @@
 int    linux_sys_getpgid       __P((struct proc *, void *, register_t *));
 int    sys_fchdir      __P((struct proc *, void *, register_t *));
 int    linux_sys_personality   __P((struct proc *, void *, register_t *));
+int    linux_sys_setfsuid      __P((struct proc *, void *, register_t *));
+int    linux_sys_getfsuid      __P((struct proc *, void *, register_t *));
 int    linux_sys_llseek        __P((struct proc *, void *, register_t *));
 int    linux_sys_getdents      __P((struct proc *, void *, register_t *));
 int    linux_sys_select        __P((struct proc *, void *, register_t *));
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c       Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c       Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscalls.c,v 1.12 1999/12/16 15:13:42 tron Exp $ */
+/*     $NetBSD: linux_syscalls.c,v 1.13 2000/02/03 10:22:40 abs Exp $  */
 
 /*
  * System call names.
@@ -188,8 +188,8 @@
        "#135 (unimplemented sysfs)",           /* 135 = unimplemented sysfs */
        "personality",                  /* 136 = personality */
        "#137 (unimplemented afs_syscall)",             /* 137 = unimplemented afs_syscall */
-       "#138 (unimplemented setfsuid)",                /* 138 = unimplemented setfsuid */
-       "#139 (unimplemented getfsuid)",                /* 139 = unimplemented getfsuid */
+       "setfsuid",                     /* 138 = setfsuid */
+       "getfsuid",                     /* 139 = getfsuid */
        "llseek",                       /* 140 = llseek */
        "getdents",                     /* 141 = getdents */
        "select",                       /* 142 = select */
diff -r c0c2f0c45312 -r af2748d223a1 sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Thu Feb 03 10:02:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Thu Feb 03 10:22:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sysent.c,v 1.12 1999/12/16 15:13:42 tron Exp $   */
+/*     $NetBSD: linux_sysent.c,v 1.13 2000/02/03 10:22:41 abs Exp $    */
 
 /*
  * System call switch table.
@@ -334,10 +334,10 @@
            linux_sys_personality },            /* 136 = personality */
        { 0, 0,
            sys_nosys },                        /* 137 = unimplemented afs_syscall */
+       { 1, s(struct linux_sys_setfsuid_args),
+           linux_sys_setfsuid },               /* 138 = setfsuid */
        { 0, 0,
-           sys_nosys },                        /* 138 = unimplemented setfsuid */
-       { 0, 0,
-           sys_nosys },                        /* 139 = unimplemented getfsuid */
+           linux_sys_getfsuid },               /* 139 = getfsuid */
        { 5, s(struct linux_sys_llseek_args),
            linux_sys_llseek },                 /* 140 = llseek */
        { 3, s(struct linux_sys_getdents_args),



Home | Main Index | Thread Index | Old Index