loginui: Pledge unix
This commit is contained in:
parent
ac260d0397
commit
984200ca9a
@ -46,7 +46,7 @@ Result<int> luna_main(int argc, char** argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRY(os::Security::pledge("stdio rpath wpath proc exec id", nullptr));
|
TRY(os::Security::pledge("stdio rpath wpath unix proc exec id", nullptr));
|
||||||
|
|
||||||
setsid();
|
setsid();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user