nwnss: audit support headers and extend coverage

This commit is contained in:
Mario Fetka
2026-06-17 20:55:58 +00:00
parent 871dc03937
commit ca96c02a36
2 changed files with 79 additions and 40 deletions

View File

@@ -34,9 +34,9 @@ Status legend:
Current inventory summary:
- `AUDITED`: 320 files
- `AUDITED`: 358 files
- `PARTIAL`: 19 files
- `TODO`: 182 files
- `TODO`: 144 files
- `TEMP`: 4 files
- Total listed files: 525
@@ -352,49 +352,49 @@ even if it already compiles or has indirect test coverage.
| 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. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/aesproc.h` | Original `shared/support/lnxmbINC/aesproc.h` is an empty placeholder; imported file remains an empty newline-only placeholder. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/alert.h` | Compared with original `shared/support/lnxmbINC/alert.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/bindery.h` | Compared with original `shared/support/lnxmbINC/bindery.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG | nwnss.headers | `include/nwnss/support/lnxmbINC/bits.h` | Byte-identical to original `shared/support/lnxmbINC/bits.h`. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/command.h` | Original `shared/support/lnxmbINC/command.h` is an empty placeholder; imported file remains an empty newline-only placeholder. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/config.h` | Compared with original `shared/support/lnxmbINC/config.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/connect.h` | Compared with original `shared/support/lnxmbINC/connect.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/connexp.h` | Compared with original `shared/support/lnxmbINC/connexp.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/enable.h` | Compared with original `shared/support/lnxmbINC/enable.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/encp.h` | Compared with original `shared/support/lnxmbINC/encp.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/errors.h` | Compared with original `shared/support/lnxmbINC/errors.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/event.h` | Compared with original `shared/support/lnxmbINC/event.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/fshooks.h` | Compared with original `shared/support/lnxmbINC/fshooks.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/fsproto.h` | Compared with original `shared/support/lnxmbINC/fsproto.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/ins.h` | Compared with original `shared/support/lnxmbINC/ins.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/lanconf.h` | Original `shared/support/lnxmbINC/lanconf.h` is an empty placeholder; imported file remains an empty newline-only placeholder. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/lfsproto.h` | Compared with original `shared/support/lnxmbINC/lfsproto.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/loader.h` | Compared with original `shared/support/lnxmbINC/loader.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG | nwnss.headers | `include/nwnss/support/lnxmbINC/locks.h` | Byte-identical to original `shared/support/lnxmbINC/locks.h`. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/maapi.h` | Compared with original `shared/support/lnxmbINC/maapi.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/manss.h` | Compared with original `shared/support/lnxmbINC/manss.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/masv.h` | Compared with original `shared/support/lnxmbINC/masv.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX/PORT | nwnss.headers | `include/nwnss/support/lnxmbINC/mmpublic.h` | Compared with original `shared/support/lnxmbINC/mmpublic.h`; Object-manager definitions kept; only include-path normalization to `library/omni.h` plus whitespace cleanup. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/modify.h` | Compared with original `shared/support/lnxmbINC/modify.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/mpktypes.h` | Compared with original `shared/support/lnxmbINC/mpktypes.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG | nwnss.headers | `include/nwnss/support/lnxmbINC/nameserv.h` | Byte-identical to original `shared/support/lnxmbINC/nameserv.h`. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/nmevents.h` | Original `shared/support/lnxmbINC/nmevents.h` is an empty placeholder; imported file remains an empty newline-only placeholder. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/nspace.h` | Compared with original `shared/support/lnxmbINC/nspace.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/portable.h` | Compared with original `shared/support/lnxmbINC/portable.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX/PORT | nwnss.headers | `include/nwnss/support/lnxmbINC/procdefs.h` | Compared with original `shared/support/lnxmbINC/procdefs.h`; Userspace wrapper replaces the kernel `linuxmpk.h`/scheduler/procedure surface with the imported NSS base types required by userspace COMN imports; this is a deliberate kernel-boundary port, not an original header copy. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/scs.h` | Original `shared/support/lnxmbINC/scs.h` is an empty placeholder; imported file remains an empty newline-only placeholder. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/setparms.h` | Compared with original `shared/support/lnxmbINC/setparms.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/lnxmbINC/subjects.h` | Compared with original `shared/support/lnxmbINC/subjects.h`; definitions/prototypes kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG | nwnss.headers | `include/nwnss/support/lnxmbINC/version.h` | Byte-identical to original `shared/support/lnxmbINC/version.h`. |
| AUDITED | ORIG+FIX/PORT | nwnss.headers | `include/nwnss/support/lnxmbINC/volstruc.h` | Compared with original `shared/support/lnxmbINC/volstruc.h`; Original volume structures/constants kept; userspace guard prevents VOLUME_* macro collisions with imported NSS public volume constants. |
### Headers: support/ndssdkINC_kern
| 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. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/ndssdkINC_kern/dconst.h` | Compared with original `shared/support/ndssdkINC_kern/dconst.h`; constants kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/ndssdkINC_kern/dtypes.h` | Compared with original `shared/support/ndssdkINC_kern/dtypes.h`; type definitions kept. Differences are whitespace/diff-check cleanup only. |
| AUDITED | ORIG+FIX | nwnss.headers | `include/nwnss/support/ndssdkINC_kern/nwdserr.h` | Compared with original `shared/support/ndssdkINC_kern/nwdserr.h`; error definitions kept. Differences are whitespace/diff-check cleanup only. |
### Sources: root/transition

View File

@@ -91,6 +91,45 @@
#include <internal/unixAuthModel.h>
#include <internal/unixNSpace.h>
#include <support/lnxmbINC/aesproc.h>
#include <support/lnxmbINC/alert.h>
#include <support/lnxmbINC/bindery.h>
#include <support/lnxmbINC/bits.h>
#include <support/lnxmbINC/command.h>
#include <support/lnxmbINC/config.h>
#include <support/lnxmbINC/connect.h>
#include <support/lnxmbINC/connexp.h>
#include <support/lnxmbINC/enable.h>
#include <support/lnxmbINC/encp.h>
#include <support/lnxmbINC/errors.h>
#include <support/lnxmbINC/event.h>
#include <support/lnxmbINC/fshooks.h>
#include <support/lnxmbINC/fsproto.h>
#include <support/lnxmbINC/ins.h>
#include <support/lnxmbINC/lanconf.h>
#include <support/lnxmbINC/lfsproto.h>
#include <support/lnxmbINC/loader.h>
#include <support/lnxmbINC/locks.h>
#include <support/lnxmbINC/maapi.h>
#include <support/lnxmbINC/manss.h>
#include <support/lnxmbINC/masv.h>
#include <support/lnxmbINC/mmpublic.h>
#include <support/lnxmbINC/modify.h>
#include <support/lnxmbINC/mpktypes.h>
#include <support/lnxmbINC/nameserv.h>
#include <support/lnxmbINC/nmevents.h>
#include <support/lnxmbINC/nspace.h>
#include <support/lnxmbINC/portable.h>
#include <support/lnxmbINC/procdefs.h>
#include <support/lnxmbINC/scs.h>
#include <support/lnxmbINC/setparms.h>
#include <support/lnxmbINC/subjects.h>
#include <support/lnxmbINC/version.h>
#include <support/lnxmbINC/volstruc.h>
#include <support/ndssdkINC_kern/dconst.h>
#include <support/ndssdkINC_kern/dtypes.h>
#include <support/ndssdkINC_kern/nwdserr.h>
int main(void)
{
char *end = NULL;