diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-05-27 20:49:56 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-05-27 20:49:56 +0000 |
commit | 4f0d04bfefc97aeb784efede15dcfda5ed88741c (patch) | |
tree | 6e279589e25f32dd5cd666dc01789bb088752499 /sys/kern | |
parent | a7f5138e3e04369875151d8ca4478028a476041a (diff) |
sync
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 9 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 6d4bee89300..a2937975edb 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.77 2004/05/05 13:19:44 grange Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.78 2004/05/27 20:49:55 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.69 2004/05/03 17:38:48 millert Exp + * created from; OpenBSD: syscalls.master,v 1.70 2004/05/27 20:48:46 tedu Exp */ #include <sys/param.h> @@ -167,8 +167,13 @@ struct sysent sysent[] = { sys_getlogin }, /* 49 = getlogin */ { 1, s(struct sys_setlogin_args), sys_setlogin }, /* 50 = setlogin */ +#ifdef ACCOUNTING { 1, s(struct sys_acct_args), sys_acct }, /* 51 = acct */ +#else + { 0, 0, + sys_nosys }, /* 51 = unimplemented acct */ +#endif { 0, 0, sys_sigpending }, /* 52 = sigpending */ { 2, s(struct sys_osigaltstack_args), diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index ceebe1d16b4..e301f906dda 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.78 2004/05/05 13:19:44 grange Exp $ */ +/* $OpenBSD: syscalls.c,v 1.79 2004/05/27 20:49:55 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.69 2004/05/03 17:38:48 millert Exp + * created from; OpenBSD: syscalls.master,v 1.70 2004/05/27 20:48:46 tedu Exp */ char *syscallnames[] = { @@ -67,7 +67,11 @@ char *syscallnames[] = { "sigprocmask", /* 48 = sigprocmask */ "getlogin", /* 49 = getlogin */ "setlogin", /* 50 = setlogin */ +#ifdef ACCOUNTING "acct", /* 51 = acct */ +#else + "#51 (unimplemented acct)", /* 51 = unimplemented acct */ +#endif "sigpending", /* 52 = sigpending */ "osigaltstack", /* 53 = osigaltstack */ "ioctl", /* 54 = ioctl */ |