feat: add inherited sessions and desktop session teardown
This commit is contained in:
1 parent
f8ded3c30e
commit
0f81276efc
17 files changed
+165
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user