projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edbaf5e
)
Add support for SELinux environments.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 16 Sep 2004 21:59:12 +0000
(21:59 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 16 Sep 2004 21:59:12 +0000
(21:59 +0000)
elf/ldd.bash.in
patch
|
blob
|
history
diff --git
a/elf/ldd.bash.in
b/elf/ldd.bash.in
index aeceae85923fc099799f5f680d4844def12983f8..88672111092f304e241e4f3027337032e331b01b 100644
(file)
--- a/
elf/ldd.bash.in
+++ b/
elf/ldd.bash.in
@@
-155,7
+155,10
@@
warning: you do not have execution permission for" "\`$file'" >&2
}
;;
2)
- eval $add_env \${RTLD} '"$file"' || result=1
+ # The following use of cat is needed to make ldd work in SELinux
+ # environments where the executed program might not have permissions
+ # to write to the console/tty.
+ eval $add_env \${RTLD} '"$file"' | cat || result=1
;;
*)
echo 'ldd:' ${RTLD} $"exited with unknown exit code" "($ret)" >&2