0695 nwnss: list full import audit inventory conservatively

This commit is contained in:
Mario Fetka
2026-06-17 09:07:33 +00:00
parent c8e10414be
commit c413bda8a1

View File

@@ -1,139 +1,756 @@
# libnwnss import audit checklist
This document is the living audit checklist for imported NSS sources in
`src/nwnss` and `include/nwnss`.
`src/nwnss` and `include/nwnss`. It is intentionally conservative: a
file is `AUDITED` only after the current Mars tree was compared against
the intended NSS provenance or explicitly accepted as a Mars port, and
the relevant behavior has test coverage or a documented reason why direct
testing is not yet possible.
Audit rule:
- Imported Novell NSS `.c`, `.h` and `.c.h` files should stay as close to the
original sources as possible.
- Imported Novell NSS `.c`, `.h` and `.c.h` files should stay as close to
the original sources as possible.
- Allowed changes in imported Novell files are limited to compile fixes,
modern compiler callback casts, include path fixes, and explicit
`MARS_NWE_NWNSS_USERSPACE` guards.
- Real Linux kernel disk/block/VFS I/O stays in the source, but is disabled for
the default userspace build until it is ported to the Mars userspace I/O
layer.
- Missing external services may be implemented only as clearly named Mars ports,
in their own files, with comments explaining why no original NSS provider is
available and with tests in the same audit block.
- Real Linux kernel disk/block/VFS I/O stays in the source, but is disabled
for the default userspace build until it is ported to the Mars userspace
I/O layer.
- Missing external services may be implemented only as clearly named Mars
ports, in their own files, with comments explaining why no original NSS
provider is available and with tests in the same audit block.
- Header files should not be broadly rewritten to hide compile errors. Prefer
local `.c` compile fixes or private Mars compat headers.
Status legend:
- `[x]` audited and currently accepted
- `[~]` audited but still transitional / follow-up expected
- `[ ]` not audited yet
- `PORT` intentionally non-Novell implementation
- `ORIG+FIX` original Novell source with compile/userspace fixes
- `ORIG` byte-identical or effectively unchanged original source
- `TEMP` temporary bridge that must disappear when the original block is imported
- `AUDITED`: checked and currently accepted.
- `PARTIAL`: checked only for the recent touched sub-area; full file diff is still open.
- `TODO`: imported/current file is listed but not yet audited file-by-file.
- `PORT`: intentionally non-Novell implementation.
- `TEMP`: temporary transition file that must shrink or disappear.
- `ORIG+FIX?` / `ORIG header?` / `ORIG sharedsrc?`: expected provenance, not yet confirmed in this audit checklist.
## 1. Core userspace compat and scheduler/lock layer
Current inventory summary:
These files are allowed to differ from original NSS because they map kernel/NSS
primitives to the Mars userspace build. They must not contain NSS business logic.
- `AUDITED`: 7 files
- `PARTIAL`: 9 files
- `TODO`: 471 files
- `TEMP`: 2 files
- Total listed files: 489
## 1. Currently audited or partially audited focus areas
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [x] | `include/nwnss/internal/nwnssZosCompat.h` | PORT | `nwnss.neb`, `nwnss.schedule` | Mars-only ZOS/NEB macro overrides. Added to isolate overrides from original `nssOSAPIs.h`. |
| [x] | `src/nwnss/nwnssSourceCompat.h` | PORT | compile coverage through all `nwnss` objects; `nwnss.neb`, `nwnss.schedule` | Private compile shield. No NSS business logic allowed. |
| [x] | `include/nwnss/include/schedule.h` | ORIG+FIX | `nwnss.schedule` | Userspace scheduler section is now scoped to `MARS_NWE_NWNSS_USERSPACE`, not generic Linux. |
| [x] | `src/nwnss/library/os/delay.c` / scheduler runtime | PORT / ORIG+FIX | `nwnss.schedule`, `nwnss.snooze`, `nwnss.work`, `nwnss.worktodo` | Scheduler calls stay as real functions; ZOS scheduler macros must not replace prototypes. |
| [x] | `include/nwnss/include/pssmpk.h` / `src/nwnss/library/os/pssmpk.c` | PORT | `nwnss.pssmpk` | MPK lock ownership now checks current thread, matching original intent. |
| [x] | `include/nwnss/spinlock.h` | PORT | `nwnss.spinlock` | Pthread-backed spinlock port. Cross-thread contention is tested. |
| [ ] | `include/nwnss/include/latch.h` and latch userspace backend | ORIG+FIX / PORT | `nwnss.latch` | Needs original-diff audit and a check that userspace locking keeps original ownership semantics. |
| [ ] | `include/nwnss/include/procdefs.h` | ORIG+FIX | build only | Needs original-diff audit. Any broad type changes must be justified. |
| [ ] | `include/nwnss/include/nssOSAPIs.h` | ORIG+FIX | `nwnss.neb`, `nwnss.schedule` | Large original API surface. Current Mars hook should remain a small include of `nwnssZosCompat.h`. Continue diff review. |
| 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/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; checked in 0687-0689. |
| AUDITED | `include/nwnss/spinlock.h` | PORT | nwnss.spinlock | Userspace spinlock port tested; checked in 0693. |
| PARTIAL | `src/nwnss/comn/common/mgmt.c` | ORIG wrapper | link smoke | Wrapper compiles mgmt.c.h; full original diff open. |
| PARTIAL | `src/nwnss/comn/common/ndp_comn.c` | ORIG wrapper | link smoke | Novell wrapper name/pattern; full audit open. |
| PARTIAL | `src/nwnss/comn/common/ndp_guids.c` | ORIG wrapper | link smoke | Novell wrapper name/pattern; full audit open. |
| PARTIAL | `src/nwnss/comn/common/ndp_idbroker.c` | ORIG wrapper | link smoke | Novell wrapper name/pattern; full audit open. |
| PARTIAL | `src/nwnss/comn/common/ndp_messagehandler.c` | ORIG wrapper | link smoke | Novell wrapper name/pattern; full audit open. |
| TEMP | `src/nwnss/comn/comnModule.c` | TEMP | link smoke | Transition module identity bridge; should disappear later. |
| TODO | `src/nwnss/library/bit.c` | PORT | nwnss.bit, nwnss.bitmap | Port/low-level helper; needs original-provider audit. |
| TODO | `src/nwnss/library/misc/rand.c` | PORT | partial | libsodium entropy port; confirm no original provider and harden tests. |
| TODO | `src/nwnss/library/misc/rbpTree.c` | PORT | nwnss.rbpTree | Algorithmic port; has tests, but original-provider search/checklist still open. |
| TODO | `src/nwnss/library/os/currentTime.c` | PORT | nwnss.utc | Userspace time port; full audit open. |
| AUDITED | `src/nwnss/library/os/delay.c` | ORIG+FIX/PORT | nwnss.schedule, nwnss.snooze | Scheduler functions kept as functions, not macros; checked in 0688-0690. |
| AUDITED | `src/nwnss/library/os/nebEventPort.c` | PORT | nwnss.neb | Explicit NEB/nebus service port; checked in 0683-0685. |
| AUDITED | `src/nwnss/library/os/pssmpk.c` | PORT | nwnss.pssmpk | pthread owner semantics checked/fixed in 0692. |
| TODO | `src/nwnss/library/stdlib/strtol.c` | PORT | nwnss.stdlib | libc-near port; continue original/sharedsrc search. |
| TEMP | `src/nwnss/nssStartupNameGlobals.c` | TEMP | link smoke | Transition globals from nssStartup.c; should disappear later. |
| PARTIAL | `src/nwnss/nwnssSourceCompat.h` | PORT | build + nwnss.neb/schedule | Only ZOS/NEB/scheduler related parts checked so far. |
| PARTIAL | `src/nwnss/sharedsrc/mgmt.c.h` | ORIG+FIX | link smoke | NDP/MNSS visibility checked; full semantic audit needs NDP harness. |
| PARTIAL | `src/nwnss/sharedsrc/ndp_idbroker.c.h` | ORIG+FIX | link smoke | App loader excluded from userspace-kernel port; full NDP semantic audit open. |
| TODO | `src/nwnss/unicodeTableBuild.c` | PORT | nwnss.unicode, nwnss.utf8, nwnss.codepage | Unicode table replacement exception; needs detailed port audit. |
| TODO | `src/nwnss/utcUserland.c` | PORT | nwnss.utc | Userspace UTC/time port; needs detailed edge-case audit. |
## 2. External service ports / missing NSS companion services
## 2. Complete grouped file inventory
These are not Novell NSS source files. They exist only where the supplied NSS
archives reference an external companion service that is not present in the
uploaded sources.
Every current file under `src/nwnss` and `include/nwnss` is listed here.
Default `TODO` means the file still needs original-diff classification,
even if it already compiles or has indirect test coverage.
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [x] | `src/nwnss/library/os/nebEventPort.c` | PORT | `nwnss.neb` | Replaces the old ad-hoc `nebUserspace.c`. Implements NEB consumer/producer registry from real NEB headers because external `neb/nebus` provider is absent. |
| [x] | removed `src/nwnss/comn/common/nebUserspace.c` | removed PORT | `nwnss.neb` | Old artificial in-process registry removed. |
| [ ] | NDP/NCP/eDirectory external service edge | ORIG+FIX / external | link smoke only | `ndp_idbroker.c.h` is original sharedsrc, but some handler targets are external. Do not add boundary files; import sources if present, otherwise document as external service. |
| [ ] | DDC/DDS/NDS public-symbol edge | external | none | Must stay as original source paths/guards. No invented providers. |
### Headers: root/generated compat
## 3. Unicode, codepage and locale-related ports
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| AUDITED | PORT | nwnss.spinlock | `include/nwnss/spinlock.h` | Userspace spinlock port tested; checked in 0693. |
| TODO | ORIG header? | not yet classified | `include/nwnss/unicodeInit.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/utcData.h` | Must be compared against original source and classified. |
These are conscious exceptions because the original Novell TAB files are not
included for licensing/provenance reasons.
### Headers: comnSA
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [x] | Unicode/codepage table replacement | PORT | `nwnss.unicode`, `nwnss.utf8`, `nwnss.codepage` | Accepted exception. Keep clearly documented and do not claim Novell TAB provenance. |
| [~] | `src/nwnss/unicodeTableBuild.c` | PORT | Unicode/codepage tests | Audit comments and table-generation assumptions still need review. |
| [ ] | `src/nwnss/comn/common/comnUnicode.c` | ORIG+FIX | `nwnss.unicode` | Original source imported with kernel-include fix. Needs detailed original-diff classification. |
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/comnDataStream.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/comnLock.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/contextHandle.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/fileHandle.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/msgLock.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/name.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/pssConnection.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/psslib.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/sAgentHandle.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/sysimp.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/comnSA/zFriends.h` | Must be compared against original source and classified. |
## 4. Low-level runtime ports and shared library helpers
### Headers: include
Low-level self-contained ports are acceptable only when no original `.c` or
`sharedsrc/*.c.h` provider exists. Every such port needs tests against header/API
semantics.
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/include/DisplayVersion.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/adminVolume.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/alarm.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/asyncio.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/avolSimpleDir.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cdcommon.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cdcomp.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cdnetwar.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cdreada.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cduncomp.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cmActivity.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cmAlgoMan.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cmCompFile.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cmControl.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cmNSS.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cmRuntime.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnAudit.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnAuthorize.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnBeastClass.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnBeasts.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnIO.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnMacShortName.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnParams.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnPublics.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnTask.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnVariableData.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/comnZAS.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/control.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/cro.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/csa.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/csaLease.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/eDir.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/eventSys.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/evs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/extAttrBeast.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/fsm.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/fsmsg.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/fullDirectoryInfo.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/guid.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/hardLinkBeast.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/histogram.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/hmc.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/id.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/inst.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/latch.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/lsa.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/mailbox.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/maintenance.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/mal.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/manage.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/manageNlm.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/msg.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/msgGen.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/msgIO.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/name.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nameScan.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nameSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ncpIDAPI.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ndp_app.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ndp_comn.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ndp_guids.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ndp_idbroker.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ndp_messagehandler.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/ndp_msg.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nebmpk.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nebpub.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nssAdminLib.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nssErrorTable.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nssLog.h` | Must be compared against original source and classified. |
| PARTIAL | ORIG+FIX | nwnss.neb, nwnss.schedule | `include/nwnss/include/nssOSAPIs.h` | MARS include hook checked; full original diff still open. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nssWinAPI.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nwAlgo.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/nwInProc.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/objectIDStore.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/opLock.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/parse.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/pssConfig.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/pssDebug.h` | Must be compared against original source and classified. |
| AUDITED | PORT | nwnss.pssmpk | `include/nwnss/include/pssmpk.h` | MPKNSS owner semantics checked/fixed in 0692. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/purgeDir.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/register.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/repair.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/repairRAVUser.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/repairUser.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/reserveResources.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/sazlib.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/sbsMFL.h` | Must be compared against original source and classified. |
| AUDITED | ORIG+FIX | nwnss.schedule | `include/nwnss/include/schedule.h` | Userspace scheduler section scoped to MARS_NWE_NWNSS_USERSPACE; checked in 0691. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/searchMap.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/seqUpdater.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/slab.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/switchboard.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/unixAuthSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/utc.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/uxaction.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/virtualIO.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/volume.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/wio.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/xAdminVolume.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/xCache.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/xError.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/xMsg.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/zasAuthCache.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/zasAuthModel.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/include/zasAuthSpace.h` | Must be compared against original source and classified. |
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [x] | `src/nwnss/library/misc/rbpTree.c` | PORT | `nwnss.rbpTree` | Algorithmic port; tests cover insert/delete/audit/traversal. Re-check if original source appears later. |
| [x] | `src/nwnss/library/misc/rand.c` | PORT | existing random/std tests | Uses libsodium entropy. Needs audit note confirming no original provider found. |
| [x] | `src/nwnss/library/bit.c` | PORT | `nwnss.bit`, `nwnss.bitmap` | Needs detailed original-diff and edge-case test review, but has direct tests. |
| [x] | `src/nwnss/library/xCtype.c` | PORT / ORIG+FIX | `nwnss.xctype` | Verify no `sharedsrc` provider exists for remaining custom functions. |
| [x] | `src/nwnss/library/xString.c` | PORT / ORIG+FIX | `nwnss.xstring` | `LB_stricmp` already moved to real `sharedsrc/stricmp.c.h`; audit remaining functions. |
| [x] | `src/nwnss/library/os/currentTime.c` / `utcUserland.c` | PORT | `nwnss.utc` | Userspace time port. Needs DST/timezone edge-case review later. |
| [x] | `src/nwnss/library/qdiv.c` | ORIG+FIX | `nwnss.qdiv` | Original NSS source with signed helper userspace fix. |
| [x] | `src/nwnss/library/stdlib/atoq.c` + `sharedsrc/atoq.c.h` | ORIG | `nwnss.stdlib` | Sharedsrc wrapper pattern accepted. |
| [x] | `src/nwnss/library/stdlib/strtol.c` | PORT | `nwnss.stdlib` | libc-near port; keep searching for original/sharedsrc provider. |
| [x] | `src/nwnss/library/misc/xmlNSS.c` + `sharedsrc/xmlNSS.c.h` | ORIG | `nwnss.xml` | Sharedsrc wrapper pattern accepted. |
| [x] | `src/nwnss/library/misc/xmlNSS2.c` | ORIG+FIX | `nwnss.xml` | Original source with userspace include/aprintf fixes. |
| [x] | `src/nwnss/library/eDir/parseDSObjectName.c` + `sharedsrc/parseDSObjectName.c.h` | ORIG | `nwnss.stdlib` | Sharedsrc wrapper pattern accepted. |
### Headers: internal
## 5. NDP / NCP / management sharedsrc block
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/adminVolume.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/cacheControl.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/cmDefs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/comnCompress.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/dirQuotas.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/macNSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/mgmt.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/msgName.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/nCache.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/nssFSHooks.h` | Must be compared against original source and classified. |
| AUDITED | PORT | nwnss.neb, nwnss.schedule | `include/nwnss/internal/nwnssZosCompat.h` | Mars ZOS/NEB compat override header; checked in 0687-0689. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/objectIDStore.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/pssConfig.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/sbsMFL.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/unixAuthModel.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/internal/unixNSpace.h` | Must be compared against original source and classified. |
Use Novell wrapper names and `sharedsrc/*.c.h` exactly as the original build did.
Do not add generic Mars boundary files for missing symbols in this block.
### Headers: library
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [x] | `src/nwnss/ndpmod/ndp_comn.c` | ORIG wrapper | link smoke | Wrapper name aligned with Novell `ndpmodModules.mk`. |
| [x] | `src/nwnss/ndpmod/ndp_guids.c` | ORIG wrapper | link smoke | Wrapper name aligned with Novell `ndpmodModules.mk`. |
| [x] | `src/nwnss/ndpmod/ndp_messagehandler.c` | ORIG wrapper | link smoke | Wrapper name aligned with Novell `ndpmodModules.mk`. |
| [x] | `src/nwnss/ndpmod/ndp_idbroker.c` + `sharedsrc/ndp_idbroker.c.h` | ORIG+FIX | link smoke | App-land loader is excluded from Mars userspace-kernel port. Kernel-like provider side remains visible. |
| [x] | `src/nwnss/comn/common/mgmt.c` + `sharedsrc/mgmt.c.h` | ORIG+FIX | link smoke | `MNSS_FindUserIDByDN` exposed for userspace-kernel path. Further semantic tests need a controlled NDP harness. |
| [ ] | `sharedsrc/manage.c.h` / management helpers | ORIG+FIX | partial | Needs original-diff classification. |
| [ ] | `sharedsrc/manageUserSpaceRestr.c.h` | ORIG+FIX | partial | Needs original-diff classification. |
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/library/bit.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/bitmap.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/crc.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/ctype.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/format.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/hash.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/inlines.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/intlatch.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/nssDebug.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/omni.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/que.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/rand.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/rbpTree.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/size_t.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/string.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/xCtype.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/xLimits.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/xStdio.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/xStdlib.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/xString.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/library/xUnicode.h` | Must be compared against original source and classified. |
## 6. COMN / NSS high-level imported original sources
### Headers: public
These are large original NSS files. The audit must classify every local delta as
compile fix, userspace guard, callback cast, or suspicious semantic change.
Tests should be added block-by-block as behavior becomes reachable.
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/public/chunk.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/efldefs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/neb.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/nebpub.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/nfsAPIs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/nfsLock.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/nssPubs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/xmlNSS.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/xmlTags.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zError.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zEvent.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zFsMsg.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zMigrate.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zMsg.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zOmni.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zParams.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zPool.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zPublics.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/public/zWhere.h` | Must be compared against original source and classified. |
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [ ] | Namespace runtimes: `nameSpace.c`, `dosNSpace.c`, `longNSpace.c`, `unixNSpace.c`, `dataStreamNSpace.c`, `extAttrNSpace.c`, `macNSpace.c` | ORIG+FIX | `nwnss.namespace` | Needs detailed original-diff classification. Do not bypass AdminVolume/Beast dependencies. |
| [ ] | COMN handle/runtime: `searchMap.c`, `pssConnection.c`, `contextHandle.c`, `sAgentHandle.c`, `comnLock.c`, `comnTask.c` | ORIG+FIX | partial | Needs original-diff and targeted behavior tests. |
| [ ] | Message manager: `nss/msg/msg.c` | ORIG+FIX | indirect | Needs method/callback cast audit and direct tests if feasible. |
| [ ] | Beast/runtime: `beastRelease.c`, `beastClass.c` | ORIG+FIX | indirect | Needs original-diff and Beast semantics tests when AdminVolume path matures. |
| [ ] | File manager/handle: `fsmsg.c`, `fileHandle.c` | ORIG+FIX | indirect | Big risk block. Callback casts and disabled disk/VFS edges need detailed audit. |
| [ ] | CSA/Lease/Oplock: `csaLease.c`, `comnOpLock.c` | ORIG+FIX | indirect | Needs original-diff and behavior tests. |
| [ ] | Volume/pool/compression/authsys sources imported around 0634-0656 | ORIG+FIX | compile/link + existing tests | Needs grouped audit after current header/compat block. |
### Headers: support/lnxmbINC
## 7. Temporary transition files that must shrink or disappear
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/aesproc.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/alert.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/bindery.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/bits.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/command.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/config.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/connect.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/connexp.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/enable.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/encp.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/errors.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/event.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/fshooks.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/fsproto.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/ins.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/lanconf.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/lfsproto.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/loader.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/locks.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/maapi.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/manss.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/masv.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/mmpublic.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/modify.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/mpktypes.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/nameserv.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/nmevents.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/nspace.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/portable.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/procdefs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/scs.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/setparms.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/subjects.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/version.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/lnxmbINC/volstruc.h` | Must be compared against original source and classified. |
These files are acceptable only as short-lived scaffolding while importing real
NSS blocks. Each edit must report a stub/bridge balance.
### Headers: support/ndssdkINC_kern
| Status | File / block | Kind | Test coverage | Notes |
|---|---|---:|---|---|
| [~] | `src/nwnss/nssStartupNameGlobals.c` | TEMP | link smoke | Values come from `nssStartup.c`, but this partial file should disappear when real startup block is imported. |
| [~] | `src/nwnss/comn/comnModule.c` | TEMP | link smoke | Module identity bridge. Replace with real startup/module context later. |
| [~] | `src/nwnss/comn/common/temporaryComnStubs.c` | TEMP | link smoke | Must shrink. Every patch touching it must include removed/new/net stub balance. |
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `include/nwnss/support/ndssdkINC_kern/dconst.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/ndssdkINC_kern/dtypes.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `include/nwnss/support/ndssdkINC_kern/nwdserr.h` | Must be compared against original source and classified. |
## 8. Audit workflow for future patches
### Sources: root/transition
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/CMakeLists.txt` | Must be compared against original source and classified. |
| TEMP | TEMP | link smoke | `src/nwnss/nssStartupNameGlobals.c` | Transition globals from nssStartup.c; should disappear later. |
| PARTIAL | PORT | build + nwnss.neb/schedule | `src/nwnss/nwnssSourceCompat.h` | Only ZOS/NEB/scheduler related parts checked so far. |
| TODO | PORT | nwnss.unicode, nwnss.utf8, nwnss.codepage | `src/nwnss/unicodeTableBuild.c` | Unicode table replacement exception; needs detailed port audit. |
| TODO | PORT | nwnss.utc | `src/nwnss/utcUserland.c` | Userspace UTC/time port; needs detailed edge-case audit. |
### Sources: COMN root
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/aes.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/checker.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/comnCmdline.h` | Must be compared against original source and classified. |
| TEMP | TEMP | link smoke | `src/nwnss/comn/comnModule.c` | Transition module identity bridge; should disappear later. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/comnVersion.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/nameScan.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/pssStartup.h` | Must be compared against original source and classified. |
### Sources: COMN AES
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/aes/aes_cbc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/aes/aes_core.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/aes/aes_locl.h` | Must be compared against original source and classified. |
### Sources: COMN authsys
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/authorize.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/unixAuthModel.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/unixAuthSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/unixDecision.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/zasAuthCache.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/zasAuthModel.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/zasAuthSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/authsys/zasDecision.c` | Must be compared against original source and classified. |
### Sources: COMN common
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/adminVolume.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/avolSimpleDir.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/beastClass.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/common/beastClass.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/beastDelete.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/beastHash.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/beastIO.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/beastRelease.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/common/beastStartup.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/cSA.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/cSAcache.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/cSAmanager.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/checker.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/cmdLineRecovery.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnAudit.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnDataStream.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnEFL.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnEvent.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnFile.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnIO.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnLib.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnLock.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnLog.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnLookup.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnMacShortName.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnOpLock.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnPool.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnRename.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnStartup.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnTask.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnUnicode.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnVariableData.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnVol.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnWild.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/comnXaction.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/contextHandle.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/cro.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/csaLease.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/dirQuotas.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/eflMgmt.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/fileHandle.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/fsmsg.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/hardLinkBeast.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/hmc.c` | Must be compared against original source and classified. |
| PARTIAL | ORIG wrapper | link smoke | `src/nwnss/comn/common/mgmt.c` | Wrapper compiles mgmt.c.h; full original diff open. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/mgmtFiles.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/mgmtPool.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/mgmtVol.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/name.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/nameCache.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/nameLookup.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/nameScan.c` | Must be compared against original source and classified. |
| PARTIAL | ORIG wrapper | link smoke | `src/nwnss/comn/common/ndp_comn.c` | Novell wrapper name/pattern; full audit open. |
| PARTIAL | ORIG wrapper | link smoke | `src/nwnss/comn/common/ndp_guids.c` | Novell wrapper name/pattern; full audit open. |
| PARTIAL | ORIG wrapper | link smoke | `src/nwnss/comn/common/ndp_idbroker.c` | Novell wrapper name/pattern; full audit open. |
| PARTIAL | ORIG wrapper | link smoke | `src/nwnss/comn/common/ndp_messagehandler.c` | Novell wrapper name/pattern; full audit open. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/objectIDStore.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/pssConnection.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/registerLSS.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/repair.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/sAgentHandle.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/sazLib.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/searchMap.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/seqUpdater.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/uxaction.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/virtualIO.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/volStartup.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/zAPI.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/common/zPool.c` | Must be compared against original source and classified. |
### Sources: COMN compression
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cdcomp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cdcompa.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cduncomp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cduncompa.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmActivity.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmAlgoMan.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmBgCompress.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmCompDecomp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmCompFile.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmControl.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/cmRuntime.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/comnCompress.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/compression/nwAlgo.c` | Must be compared against original source and classified. |
### Sources: COMN main
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/main/comnAudit.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/main/comnCmdline.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/main/seqUpdater.h` | Must be compared against original source and classified. |
### Sources: COMN namespace
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/dataStreamNSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/namespace/dataStreamNSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/dosNSWild.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/dosNSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/namespace/dosNSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/extAttrNSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/namespace/extAttrNSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/longNSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/namespace/longNSpace.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/macNSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/nameSpace.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/comn/namespace/nspaceStartup.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/namespace/unixNSpace.c` | Must be compared against original source and classified. |
### Sources: COMN SBS
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/sbs/sbsMFL.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/comn/sbs/sbsMgmt.c` | Must be compared against original source and classified. |
### Sources: library root
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | PORT | nwnss.bit, nwnss.bitmap | `src/nwnss/library/bit.c` | Port/low-level helper; needs original-provider audit. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/functionPtrs.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/qdiv.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/que.c` | Must be compared against original source and classified. |
| TODO | PORT/ORIG+FIX | nwnss.xctype | `src/nwnss/library/xCtype.c` | Needs sharedsrc/original provider audit for every function. |
| TODO | PORT/ORIG+FIX | nwnss.xstring | `src/nwnss/library/xString.c` | LB_stricmp uses sharedsrc; remaining functions need audit. |
### Sources: library/debug
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/debug/otherErrorTables.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/debug/pssDebug.c` | Must be compared against original source and classified. |
### Sources: library/eDir
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/eDir/parseDSObjectName.c` | Must be compared against original source and classified. |
### Sources: library/fsm
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/fsm/fsmnw.c` | Must be compared against original source and classified. |
### Sources: library/guid
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/guid/guid.c` | Must be compared against original source and classified. |
### Sources: library/id
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/id/id.c` | Must be compared against original source and classified. |
### Sources: library/latch
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/latch/intlatch.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/latch/latch.c` | Must be compared against original source and classified. |
### Sources: library/misc
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/dbginit.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/displayVersion.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/format.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/histogram.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/lbVolume.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/nssErrorTable.c` | Must be compared against original source and classified. |
| TODO | PORT | partial | `src/nwnss/library/misc/rand.c` | libsodium entropy port; confirm no original provider and harden tests. |
| TODO | PORT | nwnss.rbpTree | `src/nwnss/library/misc/rbpTree.c` | Algorithmic port; has tests, but original-provider search/checklist still open. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/register.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/sysimp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/xmlNSS.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/xmlNSS2.c` | Must be compared against original source and classified. |
### Sources: library/os
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/os/alarm.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/os/config.c` | Must be compared against original source and classified. |
| TODO | PORT | nwnss.utc | `src/nwnss/library/os/currentTime.c` | Userspace time port; full audit open. |
| AUDITED | ORIG+FIX/PORT | nwnss.schedule, nwnss.snooze | `src/nwnss/library/os/delay.c` | Scheduler functions kept as functions, not macros; checked in 0688-0690. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/os/inst.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/os/mailbox.c` | Must be compared against original source and classified. |
| AUDITED | PORT | nwnss.neb | `src/nwnss/library/os/nebEventPort.c` | Explicit NEB/nebus service port; checked in 0683-0685. |
| AUDITED | PORT | nwnss.pssmpk | `src/nwnss/library/os/pssmpk.c` | pthread owner semantics checked/fixed in 0692. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/os/snooze.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/os/worktodo.c` | Must be compared against original source and classified. |
### Sources: library/parse
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/parse/pcmdline.c` | Must be compared against original source and classified. |
### Sources: library/stdio
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/aprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/errprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/printf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/snprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/library/stdio/snprintf.h` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/sprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/vaprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/vprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdio/vsprintf.c` | Must be compared against original source and classified. |
### Sources: library/stdlib
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/atoi.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/atoq.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/freePage.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/malloc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/mallocPage.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/mallocPageWithFlags.c` | Must be compared against original source and classified. |
| TODO | PORT | nwnss.stdlib | `src/nwnss/library/stdlib/strtol.c` | libc-near port; continue original/sharedsrc search. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/zalloc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/zallocPage.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/stdlib/zrealloc.c` | Must be compared against original source and classified. |
### Sources: library/unicode
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/ByteToUnicode.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/LenByteToUnicode.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/LenMacByteToUnicode.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/MacByteToUnicode.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/RegisterUnicodeConverter.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/UnRegisterUnicodeConverter.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/UnicodeToByte.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/UnicodeToMacByte.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/UnicodeToUntermByte.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/UnicodeToUntermMacByte.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/componentUnicpy.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/componentUnilen.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/getMacCodePageName.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/getNssUnicodeVersion.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/uni2utf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unicat.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unicmp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unicodeInit.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unicodeParse.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unicpy.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/uniicmp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/uniicmpmac.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unilen.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unilwr.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unimcpy.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/uninicmp.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unitolower.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/unitoupper.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/uniupr.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/utf2uni.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/utf8LenToUniChar.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/utf8ToUniChar.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/unicode/utf_tolower.c` | Must be compared against original source and classified. |
### Sources: library/utc
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/dos2str.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/dos2utc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/dosd2str.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/dost2str.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/getutctime.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/local2utc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/msTime2utc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/sec2utc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/secsDiff.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/str2dos.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/str2dosd.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/str2dost.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/str2utc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/utc2dos.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/utc2local.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/utc2msTime.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/utc2sec.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/utc2str.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/utc/utcdata.c` | Must be compared against original source and classified. |
### Sources: library/wio
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/lnxLog.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/nssUI.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wWrapString.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/waprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wgetpos.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wio.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wpause.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wprintf.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wsetpos.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/wio/wvprintf.c` | Must be compared against original source and classified. |
### Sources: NSS cache
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/cache/asyncio.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/cache/bond.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/cache/cache.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/cache/control.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/cache/work.c` | Must be compared against original source and classified. |
### Sources: NSS lib
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/lib/bitmap.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/lib/crc.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/lib/hash.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/lib/setErrno.c` | Must be compared against original source and classified. |
### Sources: NSS msg
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/msg/msg.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/msg/slab.c` | Must be compared against original source and classified. |
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nss/msg/switchboard.c` | Must be compared against original source and classified. |
### Sources: nsslnxlib
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG+FIX? | not yet classified | `src/nwnss/nsslnxlib/nwlocale.c` | Must be compared against original source and classified. |
### Sources: sharedsrc included implementations
| Status | Kind | Test coverage | File | Notes |
|---|---:|---|---|---|
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/atoq.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/dbginit.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/guid.c.h` | Must be compared against original source and classified. |
| PARTIAL | ORIG+FIX | link smoke | `src/nwnss/sharedsrc/mgmt.c.h` | NDP/MNSS visibility checked; full semantic audit needs NDP harness. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/ndp_comn.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/ndp_guids.c.h` | Must be compared against original source and classified. |
| PARTIAL | ORIG+FIX | link smoke | `src/nwnss/sharedsrc/ndp_idbroker.c.h` | App loader excluded from userspace-kernel port; full NDP semantic audit open. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/ndp_messagehandler.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/otherErrorTables.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/parseDSObjectName.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/que.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/stricmp.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/sysimp.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/uni2utf.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/unicat.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/unicmp.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/unicpy.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/unilen.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/unimcpy.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/utf2uni.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/virtualIO.c.h` | Must be compared against original source and classified. |
| TODO | ORIG header? | not yet classified | `src/nwnss/sharedsrc/xmlNSS.c.h` | Must be compared against original source and classified. |
## 3. Audit workflow for future patches
Every future audit/cleanup patch should include:
@@ -141,13 +758,12 @@ Every future audit/cleanup patch should include:
2. Classification of every changed file: `ORIG`, `ORIG+FIX`, `PORT`, or `TEMP`.
3. Explanation of any `MARS_NWE_NWNSS_USERSPACE` guard.
4. Confirmation that no disk/block/VFS I/O was enabled by default.
5. Test coverage added or an explicit reason why direct semantics cannot yet be
tested.
5. Test coverage added or an explicit reason why direct semantics cannot yet be tested.
6. Update to this checklist.
Preferred patch order from the current point:
Preferred next audit order:
- continue core compat: `latch.h`, `procdefs.h`, remaining `nssOSAPIs.h` deltas
- finish core compat: `latch.h`, `procdefs.h`, remaining `nssOSAPIs.h` deltas
- then NDP/MGMT sharedsrc original-diff classification
- then low-level ports that already have tests
- then large COMN/NSS source groups with tests added per reachable behavior