From 93509b0cdee746cc0e1d2b4e15e84efead2077d5 Mon Sep 17 00:00:00 2001 From: ChatGPT Date: Thu, 18 Jun 2026 09:53:40 +0000 Subject: [PATCH] nwnss: audit nssOSAPIs userspace boundary --- nwnss-audit.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nwnss-audit.md b/nwnss-audit.md index 436c67c..812701f 100644 --- a/nwnss-audit.md +++ b/nwnss-audit.md @@ -34,8 +34,8 @@ Status legend: Current inventory summary: -- `AUDITED`: 359 files -- `PARTIAL`: 19 files +- `AUDITED`: 360 files +- `PARTIAL`: 18 files - `TODO`: 143 files - `TEMP`: 4 files - Total listed files: 525 @@ -134,7 +134,7 @@ still stay original and remain listed, because later imports may rely on them. | Status | File / block | Kind | Test coverage | Notes | |---|---|---:|---|---| -| PARTIAL | `include/nwnss/include/nssOSAPIs.h` | ORIG+FIX | nwnss.neb, nwnss.schedule | MARS include hook checked; full original diff still open. | +| AUDITED | `include/nwnss/include/nssOSAPIs.h` | ORIG+FIX/PORT | nwnss.neb, nwnss.schedule | Full diff against original `shared/sdk/internal/nssOSAPIs.h` checked in 0750. Original macro surface is kept; differences are include-path normalization, userspace `LINUX_VERSION_CODE`/`KERNEL_VERSION` fallback, guarding kernel `regmodules.h`, whitespace cleanup, and the final `MARS_NWE_NWNSS_USERSPACE` include of `nwnssZosCompat.h` so imported sources see the process-local NEB/ZOS/MPKNSS boundary without rewriting the original header body. | | AUDITED | `include/nwnss/include/pssmpk.h` | PORT | nwnss.pssmpk | MPKNSS owner semantics checked/fixed in 0692. | | AUDITED | `include/nwnss/include/schedule.h` | ORIG+FIX | nwnss.schedule | Userspace scheduler section scoped to MARS_NWE_NWNSS_USERSPACE; checked in 0691. | | AUDITED | `include/nwnss/internal/nwnssZosCompat.h` | PORT | nwnss.neb, nwnss.schedule | Mars ZOS/NEB compat override header; rechecked in 0739/0740. It deliberately redirects imported ZOS scheduling/event/import/file macros to userspace boundary functions while keeping NSS business logic out of the compatibility header. | @@ -270,7 +270,7 @@ even if it already compiles or has indirect test coverage. | AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/include/nssAdminLib.h` | Compared with original `shared/sdk/include/nssAdminLib.h`; admin library prototypes kept. Differences are whitespace/diff-check cleanup only. | | AUDITED | ORIG+FIX | generated nssErrorTable build | `include/nwnss/include/nssErrorTable.h` | Compared with original `shared/sdk/include/nssErrorTable.h`; complete header kept. Difference is trailing whitespace/newline cleanup only; now consumed by generated `nssErrorTable.c`. | | AUDITED | ORIG | nwnss.headers | `include/nwnss/include/nssLog.h` | Byte-identical to original `shared/sdk/include/nssLog.h`. | -| PARTIAL | ORIG+FIX | nwnss.neb, nwnss.schedule | `include/nwnss/include/nssOSAPIs.h` | MARS include hook checked; full original diff still open. | +| AUDITED | ORIG+FIX/PORT | nwnss.neb, nwnss.schedule | `include/nwnss/include/nssOSAPIs.h` | Full diff against original `shared/sdk/internal/nssOSAPIs.h` checked in 0750. Macro body is original except for include-path normalization, userspace Linux-version fallback, kernel-only `regmodules.h` guard, whitespace cleanup, and a final `MARS_NWE_NWNSS_USERSPACE` hook to `internal/nwnssZosCompat.h`. This hook deliberately supplies process-local NEB/ZOS/MPKNSS userspace boundaries without hiding disk/block/VFS I/O or removing original macro declarations. | | AUDITED | ORIG | link smoke | `include/nwnss/include/nssWinAPI.h` | Byte-identical to original `shared/sdk/include/nssWinAPI.h`; intentionally not included in nwnss.headers because it requires the Win32/NW input-key header set not imported for userspace. | | AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/include/nwAlgo.h` | Compared with original `public_core/comn/compression/nwAlgo.h`; compression algorithm declarations kept. Differences are include-path normalization for lnxmb support headers and whitespace cleanup only. | | AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/include/nwInProc.h` | Compared with original `shared/sdk/internal/nwInProc.h`; in-process structures kept. Differences are whitespace/diff-check cleanup only. |