Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern a.out binaries can't handle topdown.
details: https://anonhg.NetBSD.org/src/rev/1864751291ef
branches: trunk
changeset: 326303:1864751291ef
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 25 05:15:05 2014 +0000
description:
a.out binaries can't handle topdown.
diffstat:
sys/kern/exec_aout.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 759984c1640b -r 1864751291ef sys/kern/exec_aout.c
--- a/sys/kern/exec_aout.c Sat Jan 25 05:14:03 2014 +0000
+++ b/sys/kern/exec_aout.c Sat Jan 25 05:15:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_aout.c,v 1.36 2013/09/19 18:50:59 christos Exp $ */
+/* $NetBSD: exec_aout.c,v 1.37 2014/01/25 05:15:05 christos Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exec_aout.c,v 1.36 2013/09/19 18:50:59 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exec_aout.c,v 1.37 2014/01/25 05:15:05 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_coredump.h"
@@ -116,6 +116,8 @@
midmag = mid << 16 | magic;
+ epp->ep_flags &= ~EXEC_TOPDOWN_VM;
+
switch (midmag) {
case (MID_MACHINE << 16) | ZMAGIC:
error = exec_aout_prep_zmagic(l, epp);
Home |
Main Index |
Thread Index |
Old Index