about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-06-27 14:23:43 +0000
committerUlrich Drepper <drepper@redhat.com>2006-06-27 14:23:43 +0000
commit361a3706e1a353d587127eab967a229c20177808 (patch)
treed99f08b9f87e0e03c73b704b5fa82d6fe9aaf8d2
parenta1f0de82f4c9b98c4b43eab5cf78015324029b9c (diff)
downloadglibc-361a3706e1a353d587127eab967a229c20177808.tar.gz
glibc-361a3706e1a353d587127eab967a229c20177808.tar.xz
glibc-361a3706e1a353d587127eab967a229c20177808.zip
* elf/dl-load.c (open_path): Fix test to determine whether DSO is cvs/fedora-glibc-20060630T0858
	auditing.
-rw-r--r--ChangeLog3
-rw-r--r--elf/dl-load.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c300780d7f..520062b8c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
diff --git a/elf/dl-load.c b/elf/dl-load.c
index ae99ffdcbc..902ffc4109 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -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.  */