summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-12-19 18:48:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-12-19 18:48:06 +0000
commit0d9ea4713fc1121219519c15f920786680f4ddc1 (patch)
treebe15d042e471ca34fe82fa13b425ed2593b07532 /usr.sbin
parentfffd25334419c0bb4d38f10dc75fe204b6f083bb (diff)
back out recently added sanity check for data and bss as ksyms has neither
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/kvm_mkdb/nlist.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c
index e2b2245c294..fe58f153e5a 100644
--- a/usr.sbin/kvm_mkdb/nlist.c
+++ b/usr.sbin/kvm_mkdb/nlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nlist.c,v 1.16 1998/11/29 09:34:09 downsj Exp $ */
+/* $OpenBSD: nlist.c,v 1.17 1998/12/19 18:48:05 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: nlist.c,v 1.16 1998/11/29 09:34:09 downsj Exp $";
+static char *rcsid = "$OpenBSD: nlist.c,v 1.17 1998/12/19 18:48:05 millert Exp $";
#endif
#endif /* not lint */
@@ -116,10 +116,6 @@ __aout_knlist(fd, db)
if (!ebuf.a_syms)
badfmt("stripped");
- /* Sanity check. */
- if (!ebuf.a_data || !ebuf.a_bss)
- badfmt("corrupt exec header");
-
/* Seek to string table. */
if (lseek(fd, N_STROFF(ebuf), SEEK_SET) == -1)
badfmt("corrupted string table");