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:
maksw committed 2026-10-12 18:17:43 +02:00
1 parent 899225f551
commit c0ad63c27f
226 files changed
+6562 -4147

No files matched your search

@@ -1,5 +1,6 @@
// Native smoke test for posixsrv discovery, stable PID registration, and bounded transactions.
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <ntlite/module_loader.h>
@@ -27,17 +28,17 @@ static void fail(const char* text) {
}
// Returns whether the current command line contains one ASCII token.
static int command_contains(const char* token) {
static bool command_contains(const char* token) {
SYS_PEB* peb = SysGetPeb();
if (!peb || peb->Magic != SYS_PEB_MAGIC || peb->Version != SYS_ENV_VERSION || !token)
return 0;
return false;
size_t tokenLength = strlen(token);
if (tokenLength == 0 || tokenLength > peb->CommandLine.Length) return 0;
if (tokenLength == 0 || tokenLength > peb->CommandLine.Length) return false;
for (size_t i = 0; i + tokenLength <= peb->CommandLine.Length; ++i) {
if (memcmp(peb->CommandLine.Data + i, token, tokenLength) == 0)
return 1;
return true;
}
return 0;
return false;
}
// Resolves /Services/posix through RSSRV and connects one independent client endpoint.