Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lkm/exec Follow changes in rev. 1.79 of sys/kern/exec_co...
details: https://anonhg.NetBSD.org/src/rev/105ff36f3a1f
branches: trunk
changeset: 543220:105ff36f3a1f
user: martin <martin%NetBSD.org@localhost>
date: Wed Feb 19 15:43:56 2003 +0000
description:
Follow changes in rev. 1.79 of sys/kern/exec_conf.c
(if emulation uses elf32_copyargs(), it shouldn't use it's own idea
of how many AUX arguments are actually passed)
diffstat:
sys/lkm/exec/freebsd_elf/lkminit_exec.c | 6 +++---
sys/lkm/exec/ibcs2_elf/lkminit_exec.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r bb7511a027a8 -r 105ff36f3a1f sys/lkm/exec/freebsd_elf/lkminit_exec.c
--- a/sys/lkm/exec/freebsd_elf/lkminit_exec.c Wed Feb 19 14:33:15 2003 +0000
+++ b/sys/lkm/exec/freebsd_elf/lkminit_exec.c Wed Feb 19 15:43:56 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lkminit_exec.c,v 1.7 2002/01/04 06:51:00 thorpej Exp $ */
+/* $NetBSD: lkminit_exec.c,v 1.8 2003/02/19 15:43:56 martin Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lkminit_exec.c,v 1.7 2002/01/04 06:51:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lkminit_exec.c,v 1.8 2003/02/19 15:43:56 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -62,7 +62,7 @@
{ ELFNAME2(freebsd,probe) },
NULL,
EXECSW_PRIO_ANY,
- FREEBSD_ELF_AUX_ARGSIZ,
+ howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), sizeof(Elf32_Addr)),
elf32_copyargs,
NULL,
coredump_elf32 };
diff -r bb7511a027a8 -r 105ff36f3a1f sys/lkm/exec/ibcs2_elf/lkminit_exec.c
--- a/sys/lkm/exec/ibcs2_elf/lkminit_exec.c Wed Feb 19 14:33:15 2003 +0000
+++ b/sys/lkm/exec/ibcs2_elf/lkminit_exec.c Wed Feb 19 15:43:56 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lkminit_exec.c,v 1.6 2002/01/04 06:51:01 thorpej Exp $ */
+/* $NetBSD: lkminit_exec.c,v 1.7 2003/02/19 15:43:56 martin Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lkminit_exec.c,v 1.6 2002/01/04 06:51:01 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lkminit_exec.c,v 1.7 2003/02/19 15:43:56 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -62,7 +62,7 @@
{ ELFNAME2(ibcs2,probe) },
&emul_ibcs2,
EXECSW_PRIO_ANY,
- IBCS2_ELF_AUX_ARGSIZ,
+ howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), sizeof (Elf32_Addr)),
elf32_copyargs,
NULL,
coredump_elf32 };
Home |
Main Index |
Thread Index |
Old Index