clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -41,7 +41,7 @@ static void exit_now(int32_t code) {
|
||||
}
|
||||
|
||||
// Fails the test with one status value.
|
||||
static void fail_status(const char* operation, uint32_t status) {
|
||||
static void fail_status(const char* operation, KSTATUS status) {
|
||||
print("process_protection_smoke: ");
|
||||
print(operation);
|
||||
print(" status=");
|
||||
@@ -53,7 +53,7 @@ static void fail_status(const char* operation, uint32_t status) {
|
||||
// Verifies one protected process remains alive after a kill attempt.
|
||||
static void verify_protected_process(const SYS_PROCESS_INFO* process) {
|
||||
uint32_t handle = 0;
|
||||
uint32_t status = SysOpenProcess(process->ProcessId, SYS_PROCESS_RIGHT_TERMINATE | SYS_RIGHT_WAIT | SYS_RIGHT_QUERY, &handle);
|
||||
KSTATUS status = SysOpenProcess(process->ProcessId, SYS_PROCESS_RIGHT_TERMINATE | SYS_RIGHT_WAIT | SYS_RIGHT_QUERY, &handle);
|
||||
if (status != NTLSTATUS_SUCCESS)
|
||||
fail_status("open protected process", status);
|
||||
|
||||
@@ -75,7 +75,7 @@ void main(void) {
|
||||
|
||||
SYS_PROCESS_INFO processes[MAX_PROCESSES];
|
||||
size_t count = 0;
|
||||
uint32_t status = SysGetProcessList(processes, MAX_PROCESSES, &count);
|
||||
KSTATUS status = SysGetProcessList(processes, MAX_PROCESSES, &count);
|
||||
if (status != NTLSTATUS_SUCCESS)
|
||||
fail_status("query process list", status);
|
||||
|
||||
|
||||
Reference in new issue
Block a user