Received: by mail.netbsd.org (Postfix, from userid 0) id A5AE263B10C; Sun, 31 Oct 2010 05:03:14 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5CA0563B101 for ; Sun, 31 Oct 2010 05:03:13 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 2046A175DD; Sun, 31 Oct 2010 05:03:13 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 31 Oct 2010 05:03:13 +0000 From: "YAMAMOTO Takashi" Subject: CVS commit: src/external/bsd/libelf/dist To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101031050313.2046A175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "YAMAMOTO Takashi" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: yamt Date: Sun Oct 31 05:03:12 UTC 2010 Modified Files: src/external/bsd/libelf/dist: _libelf.h elf_begin.c elf_end.c Log Message: fall back to malloc+pread when stat+malloc doesn't seem to work. it allows libelf work on /dev/ksyms. XXX the name of the flag is a bit confusing and i think it's better to rename MALLOCED to DATA_MALLOCED or such. but i don't think it's worth increasing the diff against the upstream for it. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libelf/dist/_libelf.h cvs rdiff -u -r1.6 -r1.7 src/external/bsd/libelf/dist/elf_begin.c cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libelf/dist/elf_end.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.