diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-09-22 17:36:18 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-09-22 17:36:18 +0000 |
commit | 3c7ebd1a42969ba60d2b6c3de29fbfd72bfcce5d (patch) | |
tree | ec49d8f059a25d63487975ef0cd216ed3fbf1ba7 /sys | |
parent | 64a05a450104c9e86eff37b0a5cc5740d42e8b3b (diff) |
regen
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 15 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 11 | ||||
-rw-r--r-- | sys/sys/syscall.h | 16 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 33 |
4 files changed, 67 insertions, 8 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index ad434392727..8f13d1d9a51 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.97 2006/09/22 14:36:56 pedro Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.98 2006/09/22 17:36:17 pedro Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.85 2006/09/22 14:36:24 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp */ #include <sys/param.h> @@ -458,6 +458,16 @@ struct sysent sysent[] = { sys_setegid }, /* 182 = setegid */ { 1, s(struct sys_seteuid_args), sys_seteuid }, /* 183 = seteuid */ +#ifdef LFS + { 3, s(struct lfs_bmapv_args), + lfs_bmapv }, /* 184 = lfs_bmapv */ + { 3, s(struct lfs_markv_args), + lfs_markv }, /* 185 = lfs_markv */ + { 2, s(struct lfs_segclean_args), + lfs_segclean }, /* 186 = lfs_segclean */ + { 2, s(struct lfs_segwait_args), + lfs_segwait }, /* 187 = lfs_segwait */ +#else { 0, 0, sys_nosys }, /* 184 = unimplemented */ { 0, 0, @@ -466,6 +476,7 @@ struct sysent sysent[] = { sys_nosys }, /* 186 = unimplemented */ { 0, 0, sys_nosys }, /* 187 = unimplemented */ +#endif { 2, s(struct compat_35_sys_stat_args), compat_35(sys_stat) }, /* 188 = compat_35 stat35 */ { 2, s(struct compat_35_sys_fstat_args), diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index ca02bf7553f..18dddf6596c 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.98 2006/09/22 14:36:56 pedro Exp $ */ +/* $OpenBSD: syscalls.c,v 1.99 2006/09/22 17:36:17 pedro Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.85 2006/09/22 14:36:24 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp */ char *syscallnames[] = { @@ -220,10 +220,17 @@ char *syscallnames[] = { "setgid", /* 181 = setgid */ "setegid", /* 182 = setegid */ "seteuid", /* 183 = seteuid */ +#ifdef LFS + "lfs_bmapv", /* 184 = lfs_bmapv */ + "lfs_markv", /* 185 = lfs_markv */ + "lfs_segclean", /* 186 = lfs_segclean */ + "lfs_segwait", /* 187 = lfs_segwait */ +#else "#184 (unimplemented)", /* 184 = unimplemented */ "#185 (unimplemented)", /* 185 = unimplemented */ "#186 (unimplemented)", /* 186 = unimplemented */ "#187 (unimplemented)", /* 187 = unimplemented */ +#endif "compat_35_stat35", /* 188 = compat_35 stat35 */ "compat_35_fstat35", /* 189 = compat_35 fstat35 */ "compat_35_lstat35", /* 190 = compat_35 lstat35 */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 99a3fb7baac..cfb45e693d4 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.96 2006/09/22 14:36:56 pedro Exp $ */ +/* $OpenBSD: syscall.h,v 1.97 2006/09/22 17:36:17 pedro Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.85 2006/09/22 14:36:24 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -443,6 +443,18 @@ /* syscall: "seteuid" ret: "int" args: "uid_t" */ #define SYS_seteuid 183 +/* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ +#define SYS_lfs_bmapv 184 + +/* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ +#define SYS_lfs_markv 185 + +/* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */ +#define SYS_lfs_segclean 186 + +/* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */ +#define SYS_lfs_segwait 187 + /* 188 is compat_35 stat35 */ /* 189 is compat_35 fstat35 */ diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 84cd5e7b132..2937f05b3d7 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.98 2006/09/22 14:36:56 pedro Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.99 2006/09/22 17:36:17 pedro Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.85 2006/09/22 14:36:24 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp */ #ifdef syscallarg @@ -780,6 +780,28 @@ struct sys_seteuid_args { syscallarg(uid_t) euid; }; +struct lfs_bmapv_args { + syscallarg(fsid_t *) fsidp; + syscallarg(struct block_info *) blkiov; + syscallarg(int) blkcnt; +}; + +struct lfs_markv_args { + syscallarg(fsid_t *) fsidp; + syscallarg(struct block_info *) blkiov; + syscallarg(int) blkcnt; +}; + +struct lfs_segclean_args { + syscallarg(fsid_t *) fsidp; + syscallarg(u_long) segment; +}; + +struct lfs_segwait_args { + syscallarg(fsid_t *) fsidp; + syscallarg(struct timeval *) tv; +}; + struct compat_35_sys_stat_args { syscallarg(const char *) path; syscallarg(struct stat35 *) ub; @@ -1405,6 +1427,13 @@ int sys_pwrite(struct proc *, void *, register_t *); int sys_setgid(struct proc *, void *, register_t *); int sys_setegid(struct proc *, void *, register_t *); int sys_seteuid(struct proc *, void *, register_t *); +#ifdef LFS +int lfs_bmapv(struct proc *, void *, register_t *); +int lfs_markv(struct proc *, void *, register_t *); +int lfs_segclean(struct proc *, void *, register_t *); +int lfs_segwait(struct proc *, void *, register_t *); +#else +#endif int compat_35_sys_stat(struct proc *, void *, register_t *); int compat_35_sys_fstat(struct proc *, void *, register_t *); int compat_35_sys_lstat(struct proc *, void *, register_t *); |