feat: add inherited sessions and desktop session teardown

This commit is contained in:
daniel committed 2026-08-14 10:33:20 +02:00
1 parent f8ded3c30e
commit 0f81276efc
17 files changed
+165

No files matched your search

+8
View File
@@ -159,6 +159,14 @@ namespace montauk::abi {
return Sched::KillProcess(pid);
}
static int Sys_SetSession() {
return Sched::CreateSession();
}
static int Sys_KillSession(int sessionId) {
return Sched::KillSession(sessionId);
}
static int Sys_SetUser(int pid, const char* name) {
if (name == nullptr) return -1;
auto* target = Sched::GetProcessByPid(pid);