diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 11 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 10 | ||||
-rw-r--r-- | sys/sys/syscall.h | 7 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 16 |
4 files changed, 34 insertions, 10 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 66d214ab3e2..707b9b3e598 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.30 1998/06/12 08:32:00 deraadt Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.31 1998/08/30 18:08:21 art Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.29 1998/08/30 18:04:21 art Exp */ #include <sys/param.h> @@ -510,8 +510,13 @@ struct sysent sysent[] = { sys_futimes }, /* 206 = futimes */ { 1, s(struct sys_getpgid_args), sys_getpgid }, /* 207 = getpgid */ +#ifdef XFS + { 5, s(struct sys_xfspioctl_args), + sys_xfspioctl }, /* 208 = xfspioctl */ +#else { 0, 0, - sys_nosys }, /* 208 = unimplemented */ + sys_nosys }, /* 208 = unimplemented pioctl */ +#endif { 0, 0, sys_nosys }, /* 209 = unimplemented */ #ifdef LKM diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 5482354f296..db0482d8640 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.30 1998/06/12 08:32:01 deraadt Exp $ */ +/* $OpenBSD: syscalls.c,v 1.31 1998/08/30 18:08:23 art Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.29 1998/08/30 18:04:21 art Exp */ char *syscallnames[] = { @@ -256,7 +256,11 @@ char *syscallnames[] = { "undelete", /* 205 = undelete */ "futimes", /* 206 = futimes */ "getpgid", /* 207 = getpgid */ - "#208 (unimplemented)", /* 208 = unimplemented */ +#ifdef XFS + "xfspioctl", /* 208 = xfspioctl */ +#else + "#208 (unimplemented pioctl)", /* 208 = unimplemented pioctl */ +#endif "#209 (unimplemented)", /* 209 = unimplemented */ #ifdef LKM "lkmnosys", /* 210 = lkmnosys */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 56146bf3f90..8f3e8b15360 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.30 1998/06/12 08:31:56 deraadt Exp $ */ +/* $OpenBSD: syscall.h,v 1.31 1998/08/30 18:08:16 art Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.29 1998/08/30 18:04:21 art Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -518,6 +518,9 @@ /* syscall: "getpgid" ret: "int" args: "pid_t" */ #define SYS_getpgid 207 +/* syscall: "xfspioctl" ret: "int" args: "int" "char *" "int" "struct ViceIoctl *" "int" */ +#define SYS_xfspioctl 208 + /* syscall: "__osemctl" ret: "int" args: "int" "int" "int" "union semun *" */ #define SYS___osemctl 220 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index c58ce71dc44..61388e87a02 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.31 1998/06/12 08:31:57 deraadt Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.32 1998/08/30 18:08:19 art Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.29 1998/08/30 18:04:21 art Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -888,6 +888,14 @@ struct sys_getpgid_args { syscallarg(pid_t) pid; }; +struct sys_xfspioctl_args { + syscallarg(int) operation; + syscallarg(char *) a_pathP; + syscallarg(int) a_opcode; + syscallarg(struct ViceIoctl *) a_paramsP; + syscallarg(int) a_followSymlinks; +}; + struct sys___osemctl_args { syscallarg(int) semid; syscallarg(int) semnum; @@ -1240,6 +1248,10 @@ int sys_munlock __P((struct proc *, void *, register_t *)); int sys_undelete __P((struct proc *, void *, register_t *)); int sys_futimes __P((struct proc *, void *, register_t *)); int sys_getpgid __P((struct proc *, void *, register_t *)); +#ifdef XFS +int sys_xfspioctl __P((struct proc *, void *, register_t *)); +#else +#endif #ifdef LKM int sys_lkmnosys __P((struct proc *, void *, register_t *)); int sys_lkmnosys __P((struct proc *, void *, register_t *)); |