mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
* elf/dl-load.c (open_path): Fix test to determine whether DSO is
auditing.
This commit is contained in:
parent
a1f0de82f4
commit
361a3706e1
@ -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.
|
||||
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user