-/* $OpenBSD: linux_syscall.h,v 1.20 2000/04/04 05:32:17 jasoni Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.21 2000/04/12 04:23:05 jasoni Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.21 2000/04/04 05:31:50 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp
*/
/* syscall: "syscall" ret: "int" args: */
/* 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
-/* $OpenBSD: linux_syscallargs.h,v 1.21 2000/04/04 05:32:17 jasoni Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.22 2000/04/12 04:23:05 jasoni Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.21 2000/04/04 05:31:50 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
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;
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 *));
-/* $OpenBSD: linux_syscalls.c,v 1.20 2000/04/04 05:32:17 jasoni Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.21 2000/04/12 04:23:05 jasoni Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.21 2000/04/04 05:31:50 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp
*/
char *linux_syscallnames[] = {
"#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 */
-/* $OpenBSD: linux_sysent.c,v 1.21 2000/04/04 05:32:17 jasoni Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.22 2000/04/12 04:23:05 jasoni Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.21 2000/04/04 05:31:50 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp
*/
#include <sys/param.h>
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),