diff options
author | Filippo Arcidiacono <filippo.arcidiacono@st.com> | 2012-05-30 17:11:12 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-06 09:31:36 +0200 |
commit | da117419bdb39a4cb5035ebba46379f7c48738b3 (patch) | |
tree | 99c94543830bef45bf8ee047950b25001b0495b2 /libc/sysdeps/linux/common/readlink.c | |
parent | 8554fb21bb34329201b38c2ae4387fb6f00645cc (diff) |
ldso: preload standard path library with setuid bit set
For set-user-ID/set-group-ID ELF binaries, only libraries in the standard
search directories that are also set-user-ID must be loaded.
This patch fixes existing logic according to the above statement.
Furthermore if either library setuid bit isn't set or it cannot be found in
the standard search path, the library won't be preloaded but execution go
ahead with default one.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/readlink.c')
0 files changed, 0 insertions, 0 deletions