summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscallargs.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-03-30 07:49:44 +0000
committerguenther <guenther@openbsd.org>2016-03-30 07:49:44 +0000
commit8c60b928a6659e23fcb5c5f3d056b05f0a892991 (patch)
tree59caff4f5b17e1dc0de7525f844a654c8c1ae67a /sys/sys/syscallargs.h
parentAdd getlogin_r syscall that checks and returns errors like userspace (diff)
downloadwireguard-openbsd-8c60b928a6659e23fcb5c5f3d056b05f0a892991.tar.xz
wireguard-openbsd-8c60b928a6659e23fcb5c5f3d056b05f0a892991.zip
regenerate
Diffstat (limited to 'sys/sys/syscallargs.h')
-rw-r--r--sys/sys/syscallargs.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 2bd760bbc9b..f25a80f0155 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.182 2016/03/28 20:51:09 kettenis Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.183 2016/03/30 07:49:44 guenther Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.168 2016/03/28 20:49:58 kettenis Exp
+ * created from; OpenBSD: syscalls.master,v 1.169 2016/03/30 07:49:11 guenther Exp
*/
#ifdef syscallarg
@@ -237,7 +237,7 @@ struct sys_sigprocmask_args {
syscallarg(sigset_t) mask;
};
-struct sys_getlogin_args {
+struct sys_getlogin59_args {
syscallarg(char *) namebuf;
syscallarg(u_int) namelen;
};
@@ -677,6 +677,11 @@ struct sys_adjtime_args {
syscallarg(struct timeval *) olddelta;
};
+struct sys_getlogin_r_args {
+ syscallarg(char *) namebuf;
+ syscallarg(u_int) namelen;
+};
+
struct sys_quotactl_args {
syscallarg(const char *) path;
syscallarg(int) cmd;
@@ -1156,7 +1161,7 @@ int sys_ktrace(struct proc *, void *, register_t *);
int sys_sigaction(struct proc *, void *, register_t *);
int sys_getgid(struct proc *, void *, register_t *);
int sys_sigprocmask(struct proc *, void *, register_t *);
-int sys_getlogin(struct proc *, void *, register_t *);
+int sys_getlogin59(struct proc *, void *, register_t *);
int sys_setlogin(struct proc *, void *, register_t *);
#ifdef ACCOUNTING
int sys_acct(struct proc *, void *, register_t *);
@@ -1241,6 +1246,7 @@ int sys_socketpair(struct proc *, void *, register_t *);
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_setsid(struct proc *, void *, register_t *);
int sys_quotactl(struct proc *, void *, register_t *);
#if defined(NFSCLIENT) || defined(NFSSERVER)