Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Regen; added Linux-compatible clone(2) system call.
details: https://anonhg.NetBSD.org/src/rev/bf851197de6e
branches: trunk
changeset: 511984:bf851197de6e
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Jul 01 18:07:33 2001 +0000
description:
Regen; added Linux-compatible clone(2) system call.
diffstat:
sys/kern/init_sysent.c | 8 ++++----
sys/kern/syscalls.c | 6 +++---
sys/sys/syscall.h | 7 +++++--
sys/sys/syscallargs.h | 10 ++++++++--
4 files changed, 20 insertions(+), 11 deletions(-)
diffs (114 lines):
diff -r 06b9b4ff4347 -r bf851197de6e sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Sun Jul 01 18:06:11 2001 +0000
+++ b/sys/kern/init_sysent.c Sun Jul 01 18:07:33 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: init_sysent.c,v 1.126 2001/05/24 06:44:30 lukem Exp $ */
+/* $NetBSD: init_sysent.c,v 1.127 2001/07/01 18:07:33 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2001/04/10 11:03:56 kleink Exp
+ * created from NetBSD: syscalls.master,v 1.110 2001/07/01 18:06:11 thorpej Exp
*/
#include "opt_ktrace.h"
@@ -752,8 +752,8 @@
sys___posix_lchown }, /* 285 = __posix_lchown */
{ 1, s(struct sys_getsid_args), 0,
sys_getsid }, /* 286 = getsid */
- { 0, 0, 0,
- sys_nosys }, /* 287 = unimplemented */
+ { 2, s(struct sys___clone_args), 0,
+ sys___clone }, /* 287 = __clone */
#if defined(KTRACE) || !defined(_KERNEL)
{ 4, s(struct sys_fktrace_args), 0,
sys_fktrace }, /* 288 = fktrace */
diff -r 06b9b4ff4347 -r bf851197de6e sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Sun Jul 01 18:06:11 2001 +0000
+++ b/sys/kern/syscalls.c Sun Jul 01 18:07:33 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscalls.c,v 1.121 2001/05/30 11:48:07 mrg Exp $ */
+/* $NetBSD: syscalls.c,v 1.122 2001/07/01 18:07:33 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2001/04/10 11:03:56 kleink Exp
+ * created from NetBSD: syscalls.master,v 1.110 2001/07/01 18:06:11 thorpej Exp
*/
#if defined(_KERNEL_OPT)
@@ -388,7 +388,7 @@
"__posix_fchown", /* 284 = __posix_fchown */
"__posix_lchown", /* 285 = __posix_lchown */
"getsid", /* 286 = getsid */
- "#287 (unimplemented)", /* 287 = unimplemented */
+ "__clone", /* 287 = __clone */
#if defined(KTRACE) || !defined(_KERNEL)
"fktrace", /* 288 = fktrace */
#else
diff -r 06b9b4ff4347 -r bf851197de6e sys/sys/syscall.h
--- a/sys/sys/syscall.h Sun Jul 01 18:06:11 2001 +0000
+++ b/sys/sys/syscall.h Sun Jul 01 18:07:33 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscall.h,v 1.119 2001/04/10 11:06:21 kleink Exp $ */
+/* $NetBSD: syscall.h,v 1.120 2001/07/01 18:07:33 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2001/04/10 11:03:56 kleink Exp
+ * created from NetBSD: syscalls.master,v 1.110 2001/07/01 18:06:11 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -653,6 +653,9 @@
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
#define SYS_getsid 286
+/* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
+#define SYS___clone 287
+
/* syscall: "fktrace" ret: "int" args: "const int" "int" "int" "int" */
#define SYS_fktrace 288
diff -r 06b9b4ff4347 -r bf851197de6e sys/sys/syscallargs.h
--- a/sys/sys/syscallargs.h Sun Jul 01 18:06:11 2001 +0000
+++ b/sys/sys/syscallargs.h Sun Jul 01 18:07:33 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscallargs.h,v 1.101 2001/05/24 06:45:57 lukem Exp $ */
+/* $NetBSD: syscallargs.h,v 1.102 2001/07/01 18:07:33 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2001/04/10 11:03:56 kleink Exp
+ * created from NetBSD: syscalls.master,v 1.110 2001/07/01 18:06:11 thorpej Exp
*/
#ifndef _SYS__SYSCALLARGS_H_
@@ -1113,6 +1113,11 @@
syscallarg(pid_t) pid;
};
+struct sys___clone_args {
+ syscallarg(int) flags;
+ syscallarg(void *) stack;
+};
+
struct sys_fktrace_args {
syscallarg(const int) fd;
syscallarg(int) ops;
@@ -1491,6 +1496,7 @@
int sys___posix_fchown(struct proc *, void *, register_t *);
int sys___posix_lchown(struct proc *, void *, register_t *);
int sys_getsid(struct proc *, void *, register_t *);
+int sys___clone(struct proc *, void *, register_t *);
#if defined(KTRACE) || !defined(_KERNEL)
int sys_fktrace(struct proc *, void *, register_t *);
#else
Home |
Main Index |
Thread Index |
Old Index