about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-10-24 21:43:15 -0400
committerPetr Baudis <pasky@suse.cz>2010-11-09 02:42:25 +0100
commit1d81ee7397e0660f1ef14ded1702a47bd292d044 (patch)
tree5ebc1d5df30c9b2f80c2efe1771a5362f36b3447
parent8b1cd765b2bef7a4e71f76ac87dd1454fe2ed409 (diff)
downloadglibc-1d81ee7397e0660f1ef14ded1702a47bd292d044.tar.gz
glibc-1d81ee7397e0660f1ef14ded1702a47bd292d044.tar.xz
glibc-1d81ee7397e0660f1ef14ded1702a47bd292d044.zip
Require suid bit on audit objects in privileged programs
(cherry picked from commit 8e9f92e9d5d7737afdacf79b76d98c4c42980508)
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7fa4a0623f..8d01dae931 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-10-22  Andreas Schwab  <schwab@redhat.com>
+
+	* include/dlfcn.h (__RTLD_SECURE): Define.
+	* elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
+	mode & __RTLD_SECURE instead.
+	(open_path): Rename preloaded parameter to secure.
+	* sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
+	* elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
+	* elf/dl-deps.c (openaux): Likewise.
+	* elf/rtld.c (struct map_args): Remove is_preloaded.
+	(map_doit): Don't use it.
+	(dl_main): Likewise.
+	(do_preload): Use __RTLD_SECURE instead of is_preloaded.
+	(dlmopen_doit): Add __RTLD_SECURE to mode bits.
+
 2010-10-18  Andreas Schwab  <schwab@redhat.com>
 
 	* elf/dl-open.c (dl_open_worker): Don't expand DST here, let