summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2018-04-12 20:49:08 +0000
committerchristos <christos@NetBSD.org>2018-04-12 20:49:08 +0000
commitddfed1e8852dccf9c33fc3d8b0cf83e2bd305010 (patch)
tree5c0e76f9e0d97305e4e2ee01fb66c36d5787997d /sys
parentdea225d256ac29766ef52452c26858e3ac7d842d (diff)
ignore the ancient NetBSD emulation tag.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/exec_elf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 8a8afc0956d..ce259905c4e 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -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: