Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/compat/linux/arch/i386 Pull up regenerated files (r...
details: https://anonhg.NetBSD.org/src/rev/b9b9f94eaf12
branches: netbsd-1-4
changeset: 470860:b9b9f94eaf12
user: he <he%NetBSD.org@localhost>
date: Tue Aug 15 21:37:36 2000 +0000
description:
Pull up regenerated files (requested by abs):
Enable basic versions of Linux fsuid calls.
diffstat:
sys/compat/linux/arch/i386/linux_syscall.h | 10 ++++++++--
sys/compat/linux/arch/i386/linux_syscallargs.h | 10 ++++++++--
sys/compat/linux/arch/i386/linux_syscalls.c | 8 ++++----
sys/compat/linux/arch/i386/linux_sysent.c | 10 +++++-----
4 files changed, 25 insertions(+), 13 deletions(-)
diffs (122 lines):
diff -r 72c1c91f7765 -r b9b9f94eaf12 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h Tue Aug 15 21:35:37 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h Tue Aug 15 21:37:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.8.2.1 2000/01/31 19:18:05 he Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.8.2.2 2000/08/15 21:37:36 he Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.32.2.1 2000/01/31 19:15:07 he Exp
+ * created from NetBSD: syscalls.master,v 1.32.2.2 2000/08/15 21:35:37 he Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -338,6 +338,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 72c1c91f7765 -r b9b9f94eaf12 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h Tue Aug 15 21:35:37 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h Tue Aug 15 21:37:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.8.2.1 2000/01/31 19:18:05 he Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.8.2.2 2000/08/15 21:37:36 he Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.32.2.1 2000/01/31 19:15:07 he Exp
+ * created from NetBSD: syscalls.master,v 1.32.2.2 2000/08/15 21:35:37 he Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -309,6 +309,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;
@@ -503,6 +507,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 72c1c91f7765 -r b9b9f94eaf12 sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c Tue Aug 15 21:35:37 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c Tue Aug 15 21:37:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.8.2.1 2000/01/31 19:18:05 he Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.8.2.2 2000/08/15 21:37:36 he Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.32.2.1 2000/01/31 19:15:07 he Exp
+ * created from NetBSD: syscalls.master,v 1.32.2.2 2000/08/15 21:35:37 he Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -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 72c1c91f7765 -r b9b9f94eaf12 sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Tue Aug 15 21:35:37 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Tue Aug 15 21:37:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.8.2.1 2000/01/31 19:18:05 he Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.8.2.2 2000/08/15 21:37:36 he Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.32.2.1 2000/01/31 19:15:07 he Exp
+ * created from NetBSD: syscalls.master,v 1.32.2.2 2000/08/15 21:35:37 he Exp
*/
#include "opt_compat_43.h"
@@ -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),
Home |
Main Index |
Thread Index |
Old Index