* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 1996/10/29 03:46:28 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.13 1997/01/26 05:18:27 downsj Exp
*/
#include <sys/param.h>
sys_poll }, /* 252 = poll */
{ 0, 0,
sys_issetugid }, /* 253 = issetugid */
+ { 3, s(struct sys_lchown_args),
+ sys_lchown }, /* 254 = lchown */
};
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 1996/10/29 03:46:28 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.13 1997/01/26 05:18:27 downsj Exp
*/
char *syscallnames[] = {
"rfork", /* 251 = rfork */
"poll", /* 252 = poll */
"issetugid", /* 253 = issetugid */
+ "lchown", /* 254 = lchown */
};
* Created from the file:
* OpenBSD: vnode_if.src,v 1.4 1996/05/22 11:47:12 deraadt Exp
* by the script:
- * OpenBSD
+ * OpenBSD: vnode_if.sh,v 1.3 1996/04/19 16:09:13 niklas Exp
*/
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 1996/10/29 03:46:28 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.13 1997/01/26 05:18:27 downsj Exp
*/
#define SYS_syscall 0
#define SYS_rfork 251
#define SYS_poll 252
#define SYS_issetugid 253
-#define SYS_MAXSYSCALL 254
+#define SYS_lchown 254
+#define SYS_MAXSYSCALL 255
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 1996/10/29 03:46:28 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.13 1997/01/26 05:18:27 downsj Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
syscallarg(int) timeout;
};
+struct sys_lchown_args {
+ syscallarg(char *) path;
+ syscallarg(int) uid;
+ syscallarg(int) gid;
+};
+
/*
* System call prototypes.
*/
int sys_rfork __P((struct proc *, void *, register_t *));
int sys_poll __P((struct proc *, void *, register_t *));
int sys_issetugid __P((struct proc *, void *, register_t *));
+int sys_lchown __P((struct proc *, void *, register_t *));
* Created from the file:
* OpenBSD: vnode_if.src,v 1.4 1996/05/22 11:47:12 deraadt Exp
* by the script:
- * OpenBSD
+ * OpenBSD: vnode_if.sh,v 1.3 1996/04/19 16:09:13 niklas Exp
*/
/*