Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux32/arch/amd64 catch up with unit fixes for e...



details:   https://anonhg.NetBSD.org/src/rev/494311c4fb75
branches:  trunk
changeset: 823576:494311c4fb75
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 26 22:41:59 2017 +0000

description:
catch up with unit fixes for es_arglen; consistently use bytes.

diffstat:

 sys/compat/linux32/arch/amd64/linux32_exec.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r fd996a8a63a1 -r 494311c4fb75 sys/compat/linux32/arch/amd64/linux32_exec.h
--- a/sys/compat/linux32/arch/amd64/linux32_exec.h      Wed Apr 26 22:41:53 2017 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_exec.h      Wed Apr 26 22:41:59 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux32_exec.h,v 1.6 2014/02/21 07:53:53 maxv Exp $ */
+/*     $NetBSD: linux32_exec.h,v 1.7 2017/04/26 22:41:59 christos Exp $ */
 
 /*-
  * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -75,10 +75,12 @@
 };      
 #define LINUX32_ELF_AUX_ARGSIZ sizeof(struct linux32_extra_stack_data)
 
-#endif
+#else
 
 #define LINUX32_ELF_AUX_ARGSIZ \
-       (howmany(LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info), sizeof(Elf32_Addr)) + LINUX32_RANDOM_BYTES)
+    (LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info) + LINUX32_RANDOM_BYTES)
+
+#endif
 
 #ifdef _KERNEL
 int linux32_exec_setup_stack(struct lwp *, struct exec_package *);



Home | Main Index | Thread Index | Old Index