Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Catch netbsd32_copyargs() up to changes ...
details: https://anonhg.NetBSD.org/src/rev/dc959ce7dcd2
branches: trunk
changeset: 350893:dc959ce7dcd2
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Jan 25 21:45:39 2017 +0000
description:
Catch netbsd32_copyargs() up to changes in r1.441 src/sys/kern/kern_exec.c
diffstat:
sys/compat/netbsd32/netbsd32_exec.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 58f1264178f7 -r dc959ce7dcd2 sys/compat/netbsd32/netbsd32_exec.h
--- a/sys/compat/netbsd32/netbsd32_exec.h Wed Jan 25 17:57:14 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_exec.h Wed Jan 25 21:45:39 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_exec.h,v 1.32 2014/10/24 21:07:55 christos Exp $ */
+/* $NetBSD: netbsd32_exec.h,v 1.33 2017/01/25 21:45:39 jakllsch Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -94,13 +94,12 @@
int envc = arginfo->ps_nenvstr;
int error;
- NETBSD32PTR32(dp, cpp +
+ NETBSD32PTR32(dp, (char *)(cpp +
1 + /* int argc */
argc + /* char *argv[] */
1 + /* \0 */
envc + /* char *env[] */
- 1 + /* \0 */
- /* XXX auxinfo multiplied by ptr size? */
+ 1) + /* \0 */
pack->ep_esch->es_arglen); /* auxinfo */
sp = argp;
Home |
Main Index |
Thread Index |
Old Index