fix(kernel): add LD_LIBRARY_PATH

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-26 02:33:03 +00:00
parent 92fe4bdd81
commit 4e9d25143e
2 changed files with 57 additions and 6 deletions

View File

@ -33,8 +33,9 @@
cold int SpawnInit()
{
const char *envp[6] = {
const char *envp[7] = {
"PATH=/bin:/usr/bin",
"LD_LIBRARY_PATH=/sys/lib:/usr/lib",
"TERM=tty",
"HOME=/root",
"USER=root",