Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 For netbsd32_readlinkat(2), bufsize is n...



details:   https://anonhg.NetBSD.org/src/rev/9bfdeb94ddf9
branches:  trunk
changeset: 460800:9bfdeb94ddf9
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Nov 04 11:20:22 2019 +0000

description:
For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.
Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

diffstat:

 sys/compat/netbsd32/syscalls.master |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b12e67b058e7 -r 9bfdeb94ddf9 sys/compat/netbsd32/syscalls.master
--- a/sys/compat/netbsd32/syscalls.master       Mon Nov 04 10:44:00 2019 +0000
+++ b/sys/compat/netbsd32/syscalls.master       Mon Nov 04 11:20:22 2019 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.128 2019/09/22 22:59:38 christos Exp $
+       $NetBSD: syscalls.master,v 1.129 2019/11/04 11:20:22 rin Exp $
 
 ;      from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
@@ -1120,7 +1120,7 @@
 469    STD             { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \
                            const netbsd32_charp path, \
                            netbsd32_charp buf, \
-                           size_t bufsize); }
+                           netbsd32_size_t bufsize); }
 470    STD             { int|netbsd32||symlinkat(const netbsd32_charp path1, \
                            int fd, \
                            const netbsd32_charp path2); }



Home | Main Index | Thread Index | Old Index