mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Add support for SELinux environments.
This commit is contained in:
parent
edbaf5e576
commit
40a8d825af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user