adde /proc fs and working on install

This commit is contained in:
2026-03-10 09:17:21 -04:00
parent f12159bfb9
commit 12669d9f82
5 changed files with 199 additions and 27 deletions

View File

@@ -148,7 +148,7 @@ if cloptions.l then
syscall.devctl(1, "sfgc", 1)
end
elseif isDir then
syscall.devctl(1, "sfgc", 4)
syscall.devctl(1, "sfgc", 14)
printInline(v)
syscall.devctl(1, "sfgc", 1)
else
@@ -177,7 +177,7 @@ for i, v in ipairs(list) do
if isSym then
syscall.devctl(1, "sfgc", 6)
elseif isDir then
syscall.devctl(1, "sfgc", 4)
syscall.devctl(1, "sfgc", 14)
else
local isExec = stat and stat.perms and (math.floor(stat.perms / (2^9)) % 2 == 1)
syscall.devctl(1, "sfgc", isExec and 3 or 1)