Module Name:    src
Committed By:   christos
Date:           Sun Feb 22 00:53:29 UTC 2015

Modified Files:
        src/sys/kern: init_sysent.c syscalls.c
        src/sys/rump/include/rump: rump_syscalls.h
        src/sys/sys: syscall.h syscallargs.h

Log Message:
PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.


To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 src/sys/kern/init_sysent.c
cvs rdiff -u -r1.279 -r1.280 src/sys/kern/syscalls.c
cvs rdiff -u -r1.80 -r1.81 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.275 -r1.276 src/sys/sys/syscall.h
cvs rdiff -u -r1.258 -r1.259 src/sys/sys/syscallargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/init_sysent.c
diff -u src/sys/kern/init_sysent.c:1.288 src/sys/kern/init_sysent.c:1.289
--- src/sys/kern/init_sysent.c:1.288	Tue Feb 10 12:43:44 2015
+++ src/sys/kern/init_sysent.c	Sat Feb 21 19:53:28 2015
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.288 2015/02/10 17:43:44 christos Exp $ */
+/* $NetBSD: init_sysent.c,v 1.289 2015/02/22 00:53:28 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.271 2015/02/10 15:07:39 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.272 2015/02/22 00:50:30 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.288 2015/02/10 17:43:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.289 2015/02/22 00:53:28 christos Exp $");
 
 #include "opt_modular.h"
 #include "opt_ntp.h"

Index: src/sys/kern/syscalls.c
diff -u src/sys/kern/syscalls.c:1.279 src/sys/kern/syscalls.c:1.280
--- src/sys/kern/syscalls.c:1.279	Tue Feb 10 12:43:44 2015
+++ src/sys/kern/syscalls.c	Sat Feb 21 19:53:28 2015
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.279 2015/02/10 17:43:44 christos Exp $ */
+/* $NetBSD: syscalls.c,v 1.280 2015/02/22 00:53:28 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.271 2015/02/10 15:07:39 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.272 2015/02/22 00:50:30 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.279 2015/02/10 17:43:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.280 2015/02/22 00:53:28 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_modular.h"

Index: src/sys/rump/include/rump/rump_syscalls.h
diff -u src/sys/rump/include/rump/rump_syscalls.h:1.80 src/sys/rump/include/rump/rump_syscalls.h:1.81
--- src/sys/rump/include/rump/rump_syscalls.h:1.80	Tue Feb 10 12:43:44 2015
+++ src/sys/rump/include/rump/rump_syscalls.h	Sat Feb 21 19:53:28 2015
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.h,v 1.80 2015/02/10 17:43:44 christos Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.81 2015/02/22 00:53:28 christos Exp $ */
 
 /*
  * System call protos in rump namespace.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.271 2015/02/10 15:07:39 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.272 2015/02/22 00:50:30 christos Exp
  */
 
 #ifndef _RUMP_RUMP_SYSCALLS_H_
@@ -1028,7 +1028,7 @@ int rump_sys_fchownat(int, const char *,
 int rump_sys_fstatat(int, const char *, struct stat *, int) __RENAME(RUMP_SYS_RENAME_FSTATAT);
 int rump_sys_utimensat(int, const char *, const struct timespec *, int) __RENAME(RUMP_SYS_RENAME_UTIMENSAT);
 int rump_sys_openat(int, const char *, int, ...) __RENAME(RUMP_SYS_RENAME_OPENAT);
-int rump_sys_readlinkat(int, const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_READLINKAT);
+ssize_t rump_sys_readlinkat(int, const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_READLINKAT);
 int rump_sys_symlinkat(const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_SYMLINKAT);
 int rump_sys_unlinkat(int, const char *, int) __RENAME(RUMP_SYS_RENAME_UNLINKAT);
 int rump_sys_futimens(int, const struct timespec *) __RENAME(RUMP_SYS_RENAME_FUTIMENS);

Index: src/sys/sys/syscall.h
diff -u src/sys/sys/syscall.h:1.275 src/sys/sys/syscall.h:1.276
--- src/sys/sys/syscall.h:1.275	Tue Feb 10 12:43:44 2015
+++ src/sys/sys/syscall.h	Sat Feb 21 19:53:28 2015
@@ -1,10 +1,10 @@
-/* $NetBSD: syscall.h,v 1.275 2015/02/10 17:43:44 christos Exp $ */
+/* $NetBSD: syscall.h,v 1.276 2015/02/22 00:53:28 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.271 2015/02/10 15:07:39 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.272 2015/02/22 00:50:30 christos Exp
  */
 
 #ifndef _SYS_SYSCALL_H_
@@ -1334,7 +1334,7 @@
 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
 #define	SYS_openat	468
 
-/* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
+/* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
 #define	SYS_readlinkat	469
 
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */

Index: src/sys/sys/syscallargs.h
diff -u src/sys/sys/syscallargs.h:1.258 src/sys/sys/syscallargs.h:1.259
--- src/sys/sys/syscallargs.h:1.258	Tue Feb 10 12:43:44 2015
+++ src/sys/sys/syscallargs.h	Sat Feb 21 19:53:28 2015
@@ -1,10 +1,10 @@
-/* $NetBSD: syscallargs.h,v 1.258 2015/02/10 17:43:44 christos Exp $ */
+/* $NetBSD: syscallargs.h,v 1.259 2015/02/22 00:53:28 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.271 2015/02/10 15:07:39 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.272 2015/02/22 00:50:30 christos Exp
  */
 
 #ifndef _SYS_SYSCALLARGS_H_

Reply via email to