summaryrefslogtreecommitdiff
path: root/libdwfl/dwfl_error.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-05-06 00:52:51 -0700
committerRoland McGrath <roland@redhat.com>2010-05-06 00:52:51 -0700
commited431ddb74331f24add8c6d932ebed129c4385d8 (patch)
treefb400789e4956074d5f3fa29f20c83f4538995bd /libdwfl/dwfl_error.c
parentb4bb301f76828bcbd84e467b736fedf44fe50317 (diff)
downloadelfutils-ed431ddb74331f24add8c6d932ebed129c4385d8.tar.gz
libdwfl: Refuse to fall back to an ELF file opened by name when that mismatches the module build ID.
Diffstat (limited to 'libdwfl/dwfl_error.c')
-rw-r--r--libdwfl/dwfl_error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdwfl/dwfl_error.c b/libdwfl/dwfl_error.c
index df2765af..9144a378 100644
--- a/libdwfl/dwfl_error.c
+++ b/libdwfl/dwfl_error.c
@@ -1,5 +1,5 @@
/* Error handling in libdwfl.
- Copyright (C) 2005, 2006, 2009 Red Hat, Inc.
+ Copyright (C) 2005-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -72,6 +72,7 @@ dwfl_errno (void)
global_error = DWFL_E_NOERROR;
return result;
}
+INTDEF (dwfl_errno)
static const struct msgtable