* elf/dl-load.c (open_path): Fix test to determine whether DSO is

auditing.
This commit is contained in:
Ulrich Drepper 2006-06-27 14:23:43 +00:00
parent a1f0de82f4
commit 361a3706e1
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-06-27 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (open_path): Fix test to determine whether DSO is
auditing.
* elf/dl-load.c (_dl_map_object): Try harder to avoid looking at
RPATH of main map twice.

View File

@ -1846,7 +1846,7 @@ open_path (const char *name, size_t namelen, int preloaded,
auditing code. We must try to disturb the program as
little as possible. */
else if (loader == NULL
|| GL(dl_ns)[loader->l_ns]._ns_loaded->l_audit == 0)
|| GL(dl_ns)[loader->l_ns]._ns_loaded->l_auditing == 0)
{
/* We failed to open machine dependent library. Let's
test whether there is any directory at all. */