From 4bf1716d35658234c9c2c82129f40fa8a2f3a5e0 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 27 Feb 2023 00:58:39 +0000 Subject: sync --- sys/kern/init_sysent.c | 2 +- sys/kern/syscalls.c | 2 +- sys/sys/syscall.h | 10 +++++----- sys/sys/syscallargs.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 08745a8f47d..399dd0b6523 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_sysent.c,v 1.263 2023/02/25 09:56:17 mvs Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.264 2023/02/27 00:58:38 deraadt Exp $ */ /* * System call switch table. diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 68f63706851..ec9322c5184 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscalls.c,v 1.261 2023/02/25 09:56:17 mvs Exp $ */ +/* $OpenBSD: syscalls.c,v 1.262 2023/02/27 00:58:38 deraadt Exp $ */ /* * System call names. diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 7b53128f066..377de29022d 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.260 2023/02/25 09:56:17 mvs Exp $ */ +/* $OpenBSD: syscall.h,v 1.261 2023/02/27 00:58:38 deraadt Exp $ */ /* * System call numbers. @@ -22,7 +22,7 @@ /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */ #define SYS_write 4 -/* syscall: "open" ret: "int" args: "const char *" "int" "..." */ +/* syscall: "open" ret: "int" args: "const char *" "int" "..." "mode_t" */ #define SYS_open 5 /* syscall: "close" ret: "int" args: "int" */ @@ -169,7 +169,7 @@ /* syscall: "fstat" ret: "int" args: "int" "struct stat *" */ #define SYS_fstat 53 -/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */ +/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." "void *" */ #define SYS_ioctl 54 /* syscall: "reboot" ret: "int" args: "int" */ @@ -283,7 +283,7 @@ /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */ #define SYS_nanosleep 91 -/* syscall: "fcntl" ret: "int" args: "int" "int" "..." */ +/* syscall: "fcntl" ret: "int" args: "int" "int" "..." "void *" */ #define SYS_fcntl 92 /* syscall: "accept4" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" "int" */ @@ -702,7 +702,7 @@ /* syscall: "mknodat" ret: "int" args: "int" "const char *" "mode_t" "dev_t" */ #define SYS_mknodat 320 -/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */ +/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." "mode_t" */ #define SYS_openat 321 /* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */ diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 485212bac67..567f0cde106 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscallargs.h,v 1.263 2023/02/25 09:56:17 mvs Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.264 2023/02/27 00:58:38 deraadt Exp $ */ /* * System call argument lists. -- cgit v1.2.3