diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2023-01-07 05:25:40 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2023-01-07 05:25:40 +0000 |
commit | c99fb4ac2340b074086766acffd3e624f9655ab4 (patch) | |
tree | 63d240fefd1a2a890533cc4faf694dc2a5ba4b81 | |
parent | 8be9c34a92bc776d065a7b50661bf7bd5c764567 (diff) |
regen
-rw-r--r-- | sys/kern/init_sysent.c | 12 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 8 | ||||
-rw-r--r-- | sys/sys/syscall.h | 12 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 17 |
4 files changed, 33 insertions, 16 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index f74f7a5def6..88f9ac086d8 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.255 2022/12/17 13:45:00 kn Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.256 2023/01/07 05:25:39 guenther Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.238 2022/12/17 13:42:59 kn Exp + * created from; OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp */ #include <sys/param.h> @@ -316,10 +316,10 @@ const struct sysent sysent[] = { sys_adjtime }, /* 140 = adjtime */ { 2, s(struct sys_getlogin_r_args), 0, sys_getlogin_r }, /* 141 = getlogin_r */ - { 0, 0, 0, - sys_nosys }, /* 142 = obsolete ogethostid */ - { 0, 0, 0, - sys_nosys }, /* 143 = obsolete osethostid */ + { 3, s(struct sys_getthrname_args), 0, + sys_getthrname }, /* 142 = getthrname */ + { 2, s(struct sys_setthrname_args), 0, + sys_setthrname }, /* 143 = setthrname */ { 0, 0, 0, sys_nosys }, /* 144 = obsolete ogetrlimit */ { 0, 0, 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index fe067eaf310..179e5385b04 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.253 2022/12/17 13:45:00 kn Exp $ */ +/* $OpenBSD: syscalls.c,v 1.254 2023/01/07 05:25:39 guenther Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.238 2022/12/17 13:42:59 kn Exp + * created from; OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp */ const char *const syscallnames[] = { @@ -162,8 +162,8 @@ const char *const syscallnames[] = { "#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */ "adjtime", /* 140 = adjtime */ "getlogin_r", /* 141 = getlogin_r */ - "#142 (obsolete ogethostid)", /* 142 = obsolete ogethostid */ - "#143 (obsolete osethostid)", /* 143 = obsolete osethostid */ + "getthrname", /* 142 = getthrname */ + "setthrname", /* 143 = setthrname */ "#144 (obsolete ogetrlimit)", /* 144 = obsolete ogetrlimit */ "#145 (obsolete osetrlimit)", /* 145 = obsolete osetrlimit */ "#146 (obsolete okillpg)", /* 146 = obsolete okillpg */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 3cc6f20d0d6..ab7c0839582 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.252 2022/12/17 13:45:00 kn Exp $ */ +/* $OpenBSD: syscall.h,v 1.253 2023/01/07 05:25:39 guenther Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.238 2022/12/17 13:42:59 kn Exp + * created from; OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -420,8 +420,12 @@ /* syscall: "getlogin_r" ret: "int" args: "char *" "u_int" */ #define SYS_getlogin_r 141 - /* 142 is obsolete ogethostid */ - /* 143 is obsolete osethostid */ +/* syscall: "getthrname" ret: "int" args: "pid_t" "char *" "size_t" */ +#define SYS_getthrname 142 + +/* syscall: "setthrname" ret: "int" args: "pid_t" "const char *" */ +#define SYS_setthrname 143 + /* 144 is obsolete ogetrlimit */ /* 145 is obsolete osetrlimit */ /* 146 is obsolete okillpg */ diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index a6aea90adf5..9fc5a40e503 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.255 2022/12/17 13:45:00 kn Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.256 2023/01/07 05:25:39 guenther Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.238 2022/12/17 13:42:59 kn Exp + * created from; OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp */ #ifdef syscallarg @@ -717,6 +717,17 @@ struct sys_getlogin_r_args { syscallarg(u_int) namelen; }; +struct sys_getthrname_args { + syscallarg(pid_t) tid; + syscallarg(char *) name; + syscallarg(size_t) len; +}; + +struct sys_setthrname_args { + syscallarg(pid_t) tid; + syscallarg(const char *) name; +}; + struct sys_quotactl_args { syscallarg(const char *) path; syscallarg(int) cmd; @@ -1350,6 +1361,8 @@ int sys_mkdir(struct proc *, void *, register_t *); int sys_rmdir(struct proc *, void *, register_t *); int sys_adjtime(struct proc *, void *, register_t *); int sys_getlogin_r(struct proc *, void *, register_t *); +int sys_getthrname(struct proc *, void *, register_t *); +int sys_setthrname(struct proc *, void *, register_t *); int sys_setsid(struct proc *, void *, register_t *); int sys_quotactl(struct proc *, void *, register_t *); int sys_ypconnect(struct proc *, void *, register_t *); |