mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
429029a73e
https://sourceware.org/bugzilla/show_bug.cgi?id=27077 Before reloading nsswitch.conf, verify that the root directory hasn't changed - if it has, it's likely that we've entered a container and should not trust the nsswitch inside the container nor load any shared objects therein. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
4 lines
97 B
Plaintext
4 lines
97 B
Plaintext
su
|
|
cp $B/nss/libnss_test1.so $L/libnss_test1.so.2
|
|
cp $B/nss/libnss_test2.so $L/libnss_test2.so.2
|