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/m68k Regen.
details: https://anonhg.NetBSD.org/src/rev/1b2d9ea861be
branches: trunk
changeset: 472971:1b2d9ea861be
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri May 14 18:44:15 1999 +0000
description:
Regen.
diffstat:
sys/compat/linux/arch/m68k/linux_syscall.h | 21 ++++++++++++++--
sys/compat/linux/arch/m68k/linux_syscallargs.h | 33 ++++++++++++++++++++++++-
sys/compat/linux/arch/m68k/linux_syscalls.c | 16 +++++++----
sys/compat/linux/arch/m68k/linux_sysent.c | 28 ++++++++++++++-------
4 files changed, 77 insertions(+), 21 deletions(-)
diffs (216 lines):
diff -r b5d89d66f1c1 -r 1b2d9ea861be sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h Fri May 14 18:43:58 1999 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h Fri May 14 18:44:15 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.6 1999/05/13 23:43:16 thorpej Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.7 1999/05/14 18:44:15 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.6 1999/05/13 23:42:34 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -369,9 +369,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: */
#define LINUX_SYS_rt_sigreturn 173
@@ -402,4 +414,7 @@
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define LINUX_SYS___getcwd 183
-#define LINUX_SYS_MAXSYSCALL 187
+/* syscall: "__vfork14" ret: "int" args: */
+#define LINUX_SYS___vfork14 190
+
+#define LINUX_SYS_MAXSYSCALL 191
diff -r b5d89d66f1c1 -r 1b2d9ea861be sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h Fri May 14 18:43:58 1999 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h Fri May 14 18:44:15 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.6 1999/05/13 23:43:16 thorpej Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.7 1999/05/14 18:44:15 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.6 1999/05/13 23:42:34 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -332,6 +332,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_sigaction_args {
syscallarg(int) signum;
syscallarg(const struct linux_sigaction *) nsa;
@@ -507,7 +531,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 *));
@@ -518,4 +546,5 @@
int sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_lchown __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 b5d89d66f1c1 -r 1b2d9ea861be sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c Fri May 14 18:43:58 1999 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c Fri May 14 18:44:15 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.6 1999/05/13 23:43:16 thorpej Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.7 1999/05/14 18:44:15 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.6 1999/05/13 23:42:34 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -214,14 +214,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 */
@@ -237,4 +237,8 @@
"#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 b5d89d66f1c1 -r 1b2d9ea861be sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Fri May 14 18:43:58 1999 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Fri May 14 18:44:15 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.6 1999/05/13 23:43:16 thorpej Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.7 1999/05/14 18:44:15 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.6 1999/05/13 23:42:34 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp
*/
#include "opt_compat_netbsd.h"
@@ -386,10 +386,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,
@@ -398,10 +398,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 */
{ 0, 0,
@@ -432,5 +432,13 @@
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