raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=d42605f5c095c6cef3e18703b42264566616380b
commit d42605f5c095c6cef3e18703b42264566616380b Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Wed Apr 22 12:35:32 2020 +0100 e sys main - change cwd to avoid loading .so's in ./ fixes T8676 --- src/bin/system/e_system_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/system/e_system_main.c b/src/bin/system/e_system_main.c index 5822eb936..6739dda4a 100644 --- a/src/bin/system/e_system_main.c +++ b/src/bin/system/e_system_main.c @@ -123,6 +123,8 @@ setuid_setup(void) fprintf(stderr, "Unable to set $HOME environment\n"); exit(1); } + // change CWD to / to avoid path search dlopens finding libs in ./ + chdir("/"); // die with parent - special as this is setuid #ifdef HAVE_PRCTL --