Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/kern Pull up rev. 1.52 (kleink):



details:   https://anonhg.NetBSD.org/src/rev/704ba68f0fff
branches:  netbsd-1-5
changeset: 488480:704ba68f0fff
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 13 01:09:23 2000 +0000

description:
Pull up rev. 1.52 (kleink):
Add back a missing failure return statement accidently
deleted in rev. 1.46.  (noticed by cgd)

diffstat:

 sys/kern/exec_elf32.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 108cca7527be -r 704ba68f0fff sys/kern/exec_elf32.c
--- a/sys/kern/exec_elf32.c     Thu Jul 13 01:06:35 2000 +0000
+++ b/sys/kern/exec_elf32.c     Thu Jul 13 01:09:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf32.c,v 1.49 2000/06/06 18:26:34 soren Exp $    */
+/*     $NetBSD: exec_elf32.c,v 1.49.2.1 2000/07/13 01:09:23 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -262,6 +262,7 @@
 
        if (memcmp(eh->e_ident, ELFMAG, SELFMAG) != 0 ||
            eh->e_ident[EI_CLASS] != ELFCLASS)
+               return ENOEXEC;
 
        switch (eh->e_machine) {
 



Home | Main Index | Thread Index | Old Index