Remove unnecessary workaround

This commit is contained in:
topjohnwu 2020-09-10 01:01:51 -07:00
parent 434efec860
commit 30e45f863d

View File

@ -330,9 +330,6 @@ void su_daemon_handler(int client, struct ucred *credential) {
setenv("SHELL", ctx.req.shell, 1); setenv("SHELL", ctx.req.shell, 1);
} }
} }
const char *ld_path = getenv("LD_LIBRARY_PATH");
if (ld_path && strncmp(ld_path, ":/apex/com.android.runtime/lib", 30) == 0)
unsetenv("LD_LIBRARY_PATH");
// Unblock all signals // Unblock all signals
sigset_t block_set; sigset_t block_set;