You need to sign in or sign up before continuing.
- 26 6月, 2011 2 次提交
-
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
-
- 25 6月, 2011 3 次提交
-
-
由 Rich Felker 提交于
first, use $LD_LIBRARY_PATH unless suid. if that fails, read path from /etc/ld-musl-$ARCH.path and fallback to a builtin default.
-
由 Rich Felker 提交于
eventually (once dlopen exists) this behavior will be conditional on dlopen/dlsym not being reachable.
-
由 Rich Felker 提交于
-
- 24 6月, 2011 1 次提交
-
-
由 Rich Felker 提交于
the use of this test will be much stricter than glibc and other typical implementations; the environment will not be honored whatsoever unless the program is confirmed non-suid/sgid by the aux vector the kernel passed in. no fallback to slow syscall-based checking is used if the kernel fails to provide the information; we simply assume the worst (suid) in this case and refuse to honor environment.
-
- 19 6月, 2011 2 次提交
-
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
some notes: - library search path is hard coded - x86_64 code is untested and may not work - dlopen/dlsym is not yet implemented - relocations in read-only memory won't work
-