Module Name:    src
Committed By:   christos
Date:           Thu Apr 12 20:49:08 UTC 2018

Modified Files:
        src/sys/kern: exec_elf.c

Log Message:
ignore the ancient NetBSD emulation tag.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/kern/exec_elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/exec_elf.c
diff -u src/sys/kern/exec_elf.c:1.96 src/sys/kern/exec_elf.c:1.97
--- src/sys/kern/exec_elf.c:1.96	Sun Mar 18 09:18:39 2018
+++ src/sys/kern/exec_elf.c	Thu Apr 12 16:49:08 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: exec_elf.c,v 1.96 2018/03/18 13:18:39 christos Exp $	*/
+/*	$NetBSD: exec_elf.c,v 1.97 2018/04/12 20:49:08 christos Exp $	*/
 
 /*-
  * Copyright (c) 1994, 2000, 2005, 2015 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.96 2018/03/18 13:18:39 christos Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.97 2018/04/12 20:49:08 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pax.h"
@@ -1056,6 +1056,10 @@ netbsd_elf_note(struct exec_package *epp
 	case ELF_NOTE_TYPE_GO_BUILDID_TAG:
 		break;
 
+	case ELF_NOTE_TYPE_NETBSD_EMUL_TAG:
+		/* Ancient NetBSD version tag */
+		break;
+
 	default:
 		BADNOTE("unknown tag");
 bad:

Reply via email to