summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>1997-04-07 14:15:06 +0000
committeraugustss <augustss@NetBSD.org>1997-04-07 14:15:06 +0000
commit52e73da1a45f003dff835995d216ad982de463c1 (patch)
treef58cd276d6a7d9c8831cda09d0e420473514b239 /sys/compat/linux
parentbc5c0f6530c550b834cafe8e03fec35f501eac72 (diff)
Regen.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_syscall.h5
-rw-r--r--sys/compat/linux/linux_syscallargs.h7
-rw-r--r--sys/compat/linux/linux_syscalls.c4
-rw-r--r--sys/compat/linux/linux_sysent.c6
4 files changed, 15 insertions, 7 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index ea1d4cc9418..c713f3614bf 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.16 1996/05/20 01:59:35 fvdl Exp
+ * created from NetBSD: syscalls.master,v 1.17 1997/04/07 14:13:19 augustss Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -85,6 +85,9 @@
/* syscall: "access" ret: "int" args: "char *" "int" */
#define LINUX_SYS_access 33
+/* syscall: "nice" ret: "int" args: "int" */
+#define LINUX_SYS_nice 34
+
/* syscall: "sync" ret: "int" args: */
#define LINUX_SYS_sync 36
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 09afa2b8e1c..b5d24741ab1 100644
--- a/sys/compat/linux/linux_syscallargs.h
+++ b/sys/compat/linux/linux_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.16 1996/05/20 01:59:35 fvdl Exp
+ * created from NetBSD: syscalls.master,v 1.17 1997/04/07 14:13:19 augustss Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -77,6 +77,10 @@ struct linux_sys_access_args {
syscallarg(int) flags;
};
+struct linux_sys_nice_args {
+ syscallarg(int) incr;
+};
+
struct linux_sys_kill_args {
syscallarg(int) pid;
syscallarg(int) signum;
@@ -356,6 +360,7 @@ int linux_sys_alarm __P((struct proc *, void *, register_t *));
int linux_sys_pause __P((struct proc *, void *, register_t *));
int linux_sys_utime __P((struct proc *, void *, register_t *));
int linux_sys_access __P((struct proc *, void *, register_t *));
+int linux_sys_nice __P((struct proc *, void *, register_t *));
int sys_sync __P((struct proc *, void *, register_t *));
int linux_sys_kill __P((struct proc *, void *, register_t *));
int linux_sys_rename __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index acfd21fd220..a9e61e957af 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.16 1996/05/20 01:59:35 fvdl Exp
+ * created from NetBSD: syscalls.master,v 1.17 1997/04/07 14:13:19 augustss Exp
*/
char *linux_syscallnames[] = {
@@ -40,7 +40,7 @@ char *linux_syscallnames[] = {
"#31 (unimplemented stty)", /* 31 = unimplemented stty */
"#32 (unimplemented gtty)", /* 32 = unimplemented gtty */
"access", /* 33 = access */
- "#34 (unimplemented nice)", /* 34 = unimplemented nice */
+ "nice", /* 34 = nice */
"#35 (unimplemented ftime)", /* 35 = unimplemented ftime */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 393d03017f0..fcfdb6b6d78 100644
--- a/sys/compat/linux/linux_sysent.c
+++ b/sys/compat/linux/linux_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.16 1996/05/20 01:59:35 fvdl Exp
+ * created from NetBSD: syscalls.master,v 1.17 1997/04/07 14:13:19 augustss Exp
*/
#include <sys/param.h>
@@ -86,8 +86,8 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 32 = unimplemented gtty */
{ 2, s(struct linux_sys_access_args),
linux_sys_access }, /* 33 = access */
- { 0, 0,
- sys_nosys }, /* 34 = unimplemented nice */
+ { 1, s(struct linux_sys_nice_args),
+ linux_sys_nice }, /* 34 = nice */
{ 0, 0,
sys_nosys }, /* 35 = unimplemented ftime */
{ 0, 0,