summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_syscall.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2010-06-30 21:54:12 +0000
committerguenther <guenther@openbsd.org>2010-06-30 21:54:12 +0000
commit46413ba0866fae812e371d10a6a30cafe16051f3 (patch)
tree6619bb1759d0bca4342cfc6cb565f00de01b96ac /sys/compat/linux/linux_syscall.h
parentDon't prune page cache directly when adding to it. Fixes a crash with a (diff)
downloadwireguard-openbsd-46413ba0866fae812e371d10a6a30cafe16051f3.tar.xz
wireguard-openbsd-46413ba0866fae812e371d10a6a30cafe16051f3.zip
Merge from NetBSD: "Linux's getsid(2) does in fact return a pid,
not a pointer." So just use the native implementation. ok deraadt@
Diffstat (limited to 'sys/compat/linux/linux_syscall.h')
-rw-r--r--sys/compat/linux/linux_syscall.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 7f0f344656d..f7ecc0b2d1f 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscall.h,v 1.53 2010/05/23 11:37:30 deraadt Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.54 2010/06/30 21:54:35 guenther Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.50 2007/05/29 03:28:01 tedu Exp
+ * created from OpenBSD: syscalls.master,v 1.51 2010/06/30 21:54:12 guenther Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -457,7 +457,7 @@
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define LINUX_SYS_writev 146
-/* syscall: "getsid" ret: "int" args: "int" */
+/* syscall: "getsid" ret: "int" args: "pid_t" */
#define LINUX_SYS_getsid 147
/* syscall: "fdatasync" ret: "int" args: "int" */