feat: add support for console sessions to crashpad and crash handling in kernel
This commit is contained in:
1 parent
233dbd3fdb
commit
bbb6fcf0ee
5 files changed
+141
-37
No files matched your search
@@ -190,9 +190,11 @@ namespace Sched {
|
||||
// Find a process by PID (returns nullptr if not found or not alive)
|
||||
Process* GetProcessByPid(int pid);
|
||||
|
||||
// Spawn a crashpad process with the given crash file path as argument.
|
||||
// Called by the exception handler when a process faults.
|
||||
int SpawnCrashPad();
|
||||
// Spawn the crashpad to report on a faulted process (pid `crasherPid`).
|
||||
// Called by the exception handler when a process faults. If the crasher had
|
||||
// a redirected console, the crashpad inherits its out-stream so it can print
|
||||
// a textual report to a console session with no desktop.
|
||||
int SpawnCrashPad(int crasherPid);
|
||||
|
||||
// Get a pointer to slot i in the process table (for enumeration)
|
||||
Process* GetProcessSlot(int slot);
|
||||
|
||||
Reference in new issue
Block a user