added setuid syscall

This commit is contained in:
2026-01-30 18:47:37 -05:00
parent cb73f49962
commit c9ac447484
3 changed files with 11 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ for i,v in ipairs(files) do
kernel.log("Error loading startup script '" .. filepath .. "': " .. err, "ERROR")
else
syscall.spawn(function()
syscall.setuid(1)
syscall.IO_bind("eventQueue:"..tostring(i))
local spot = #eventQueues+1
eventQueues[spot]="eventQueue:"..tostring(i)