feat(libkernel): answer kern.proc.proc with the calling process #13532

Merged
relativespace2K merged 1 commit from upstream-pr/13532 into main 2026-10-31 01:57:46 +00:00
relativespace2K commented 2026-10-30 17:45:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by relativespace2K on 2026-10-30T17:45:34Z.


What

sysctl {CTL_KERN, KERN_PROC, KERN_PROC_PROC} (kern.proc.proc, {1, 14, 8}) now answers with the calling guest process's kinfo_proc instead of throwing on the unsupported MIB: the same 1,088-byte FreeBSD 11 amd64 record kern.proc.pid builds, because the runtime hosts one guest process. KERN_PROC_PROC takes no pid, so a fourth element is ignored, more than four elements return EINVAL, a write returns EPERM and a short buffer ENOMEM, as in the sibling kern.proc nodes.

The record construction moves into GuestProcessRecord(), shared by kern.proc.pid and the new node, and docs/dev/debt/libkernel.md gains the entry that records how many processes a console lists and whether its record is 1,088 or 1,096 bytes as unverified.

MihawkOS (PPSA99170) reads {1, 14, 8, 0} while it starts; the runtime threw sysctl_nid_postfix: unsupported MIB 1.14.8.0, which aborted the title. The title still needs #12826 and #11939 before it can boot, so there is no end-to-end title run to report here; the title's thread is #13543.

Tested

Windows 11, WinLibs GCC 15.2.0, Release, BUILD_TESTING=ON: ctest -R system_configuration runs guest_system_configuration, which passed, including the new checks: the size query returns 1,088 bytes; the record's structSize, pid and comm (eboot.bin); nothing is written past the record; a four-element MIB is accepted; five elements return EINVAL; a short buffer ENOMEM; a write EPERM.

Not tested on a console.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: PPSA99170 #13543
  • GPUs tested: n/a
  • AI-assisted: yes

The overlap comment lists open pull requests that also append to docs/dev/debt/libkernel.md; none of them changes SystemConfiguration.cpp.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5088645661 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13532). Originally posted by [relativespace2K](https://github.com/relativespace2K) on 2026-10-30T17:45:34Z. --- ### What `sysctl` {`CTL_KERN`, `KERN_PROC`, `KERN_PROC_PROC`} (`kern.proc.proc`, `{1, 14, 8}`) now answers with the calling guest process's `kinfo_proc` instead of throwing on the unsupported MIB: the same 1,088-byte FreeBSD 11 amd64 record `kern.proc.pid` builds, because the runtime hosts one guest process. `KERN_PROC_PROC` takes no pid, so a fourth element is ignored, more than four elements return `EINVAL`, a write returns `EPERM` and a short buffer `ENOMEM`, as in the sibling `kern.proc` nodes. The record construction moves into `GuestProcessRecord()`, shared by `kern.proc.pid` and the new node, and `docs/dev/debt/libkernel.md` gains the entry that records how many processes a console lists and whether its record is 1,088 or 1,096 bytes as unverified. MihawkOS (PPSA99170) reads `{1, 14, 8, 0}` while it starts; the runtime threw `sysctl_nid_postfix: unsupported MIB 1.14.8.0`, which aborted the title. The title still needs #12826 and #11939 before it can boot, so there is no end-to-end title run to report here; the title's thread is #13543. ### Tested Windows 11, WinLibs GCC 15.2.0, Release, `BUILD_TESTING=ON`: `ctest -R system_configuration` runs `guest_system_configuration`, which passed, including the new checks: the size query returns 1,088 bytes; the record's `structSize`, `pid` and `comm` (`eboot.bin`); nothing is written past the record; a four-element MIB is accepted; five elements return `EINVAL`; a short buffer `ENOMEM`; a write `EPERM`. Not tested on a console. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: PPSA99170 #13543 - [x] GPUs tested: n/a - [x] AI-assisted: yes The overlap comment lists open pull requests that also append to `docs/dev/debt/libkernel.md`; none of them changes `SystemConfiguration.cpp`.
MarcZX10 commented 2026-10-30 18:08:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T18:08:19Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The new test pins an exact KERN_PROC_PROC size-query result that is not supported by the cited FreeBSD behavior and has not been measured on console.

What I ran

Reviewed head db910209afd4d78a8dd6cd4084ef69f080347518; PR base 223b19ba0adb11b66893a57fa656ecf6bc4a45cf. The stack check previewed the head against current main 4bc9e779aa7abb2109c65ee3bca19e1b85df3be8 and merged cleanly. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13532
python3 tools/pr_abi_audit.py --base 223b19ba0adb11b66893a57fa656ecf6bc4a45cf --head db910209afd4d78a8dd6cd4084ef69f080347518 --json
python3 tools/pr_test_quality.py --root <exact-head-checkout> --json core/libs/prx/libkernel/System/src/SystemConfiguration.cpp core/libs/tests/GuestSystemConfiguration.cpp docs/dev/debt/libkernel.md
git grep -n 'GuestSystemConfiguration\|guest_system_configuration' refs/review/13532 -- '*CMakeLists.txt' '*cmake'

Results

Check Result
Diff whitespace and conventions/template Passed in precheck
ABI source audit Passed; no findings
Merge preview against current main Clean
Test-quality heuristic Flagged possible missing registration; false positive: guest_system_configuration is registered in core/libs/prx/libkernel/CMakeLists.txt
C++ test Not run locally; would require a build
Hosted CI at final refresh Intake, eligibility, library-portability, and report passed; Windows, conventions, and labels queued; Linux and specialized jobs skipped.

The precheck wrapper itself reported failure because its temporary PR checkout did not contain the locally available audit scripts; its test-quality heuristic also produced the registration false positive above. I reran the ABI audit directly from the workspace. No C++ build or test was run locally.

Raw local output

ABI audit:

{
  "status": "passed",
  "symbols": [
    {
      "name": "sceKernelGetSystemExVersion",
      "computed_nid": "mpbGISNJ6go",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sceKernelGetSystemSwVersion_nid_postfix",
      "computed_nid": "Mv1zUObHvXI",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysKernelGetIntdevModeForInternalLibc_nid_postfix",
      "computed_nid": "Q-8duzyUNn0",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysKernelGetIntdevModeForRcmgr_nid_postfix",
      "computed_nid": "EIZbVQs381s",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysKernelGetLowerLimitSysexVersion_nid_postfix",
      "computed_nid": "7dulKcLcwHI",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysKernelGetLowerLimitUpdVersion_nid_postfix",
      "computed_nid": "MMSo+k+Wp0Y",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysKernelGetManufacturingMode_nid_postfix",
      "computed_nid": "6jj29MbyzuI",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysKernelGetUpdVersion_nid_postfix",
      "computed_nid": "1U-s6o8XOcE",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysconf_nid_postfix",
      "computed_nid": "mkawd0NA9ts",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysctl_nid_postfix",
      "computed_nid": "DFmMT80xcNI",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysctlbyname_nid_postfix",
      "computed_nid": "MhC53TKmjVA",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    },
    {
      "name": "sysctlnametomib_nid_postfix",
      "computed_nid": "UkEV4hvMo1E",
      "declarations": [
        "core/libs/prx/libkernel/include/Api.hpp"
      ],
      "definitions": [
        "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp"
      ],
      "explicit_aliases": [],
      "version": "not encoded by these source declarations; not verified"
    }
  ],
  "findings": [],
  "limitations": [
    "This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation.",
    "An absent source declaration or explicit alias can be intentional for assembly exports, conditional platform code, or generated interfaces; inspect findings before treating them as defects."
  ]
}

Test-quality heuristic:

{
  "findings": [
    {
      "path": "core/libs/tests/GuestSystemConfiguration.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    }
  ],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}

Findings

Blocking

The test expects a null-buffer KERN_PROC_PROC query to return exactly 1,088 bytes (test lines 356–360); the implementation reports exactly one record through CopyOut (implementation lines 466–476). The PR says console behavior is untested. The pinned FreeBSD 11.4 reference used for the record size instead reserves five kinfo_proc slots for a null-buffer query and then enumerates processes, so that reference does not support an exact one-record size result. Please remove the exact-size assertion until it is measured on console, or implement and test the intended size-query contract with evidence for any deliberate divergence.

Non-blocking

None.

Sources

Not verified

  • No local build, CTest, or console run. The author reports Windows 11 / GCC 15.2.0 Release system_configuration passed; that result was not independently reproduced.
  • Hosted Windows, conventions, and labels checks were still queued at the final status refresh; Linux and specialized jobs were skipped.

To get this to a good state

Remove or replace the unmeasured exact size-query assertion, or provide console evidence supporting the intentional one-record behavior. I will rerun the same relevant checks on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5716620651 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13532#pullrequestreview-5716620651). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-30T18:08:19Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The new test pins an exact `KERN_PROC_PROC` size-query result that is not supported by the cited FreeBSD behavior and has not been measured on console. ## What I ran Reviewed head `db910209afd4d78a8dd6cd4084ef69f080347518`; PR base `223b19ba0adb11b66893a57fa656ecf6bc4a45cf`. The stack check previewed the head against current `main` `4bc9e779aa7abb2109c65ee3bca19e1b85df3be8` and merged cleanly. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13532 python3 tools/pr_abi_audit.py --base 223b19ba0adb11b66893a57fa656ecf6bc4a45cf --head db910209afd4d78a8dd6cd4084ef69f080347518 --json python3 tools/pr_test_quality.py --root <exact-head-checkout> --json core/libs/prx/libkernel/System/src/SystemConfiguration.cpp core/libs/tests/GuestSystemConfiguration.cpp docs/dev/debt/libkernel.md git grep -n 'GuestSystemConfiguration\|guest_system_configuration' refs/review/13532 -- '*CMakeLists.txt' '*cmake' ``` ## Results | Check | Result | |---|---| | Diff whitespace and conventions/template | Passed in precheck | | ABI source audit | Passed; no findings | | Merge preview against current `main` | Clean | | Test-quality heuristic | Flagged possible missing registration; false positive: `guest_system_configuration` is registered in `core/libs/prx/libkernel/CMakeLists.txt` | | C++ test | Not run locally; would require a build | | Hosted CI at final refresh | Intake, eligibility, library-portability, and report passed; Windows, conventions, and labels queued; Linux and specialized jobs skipped. | The precheck wrapper itself reported failure because its temporary PR checkout did not contain the locally available audit scripts; its test-quality heuristic also produced the registration false positive above. I reran the ABI audit directly from the workspace. No C++ build or test was run locally. <details><summary>Raw local output</summary> ABI audit: ```text { "status": "passed", "symbols": [ { "name": "sceKernelGetSystemExVersion", "computed_nid": "mpbGISNJ6go", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sceKernelGetSystemSwVersion_nid_postfix", "computed_nid": "Mv1zUObHvXI", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysKernelGetIntdevModeForInternalLibc_nid_postfix", "computed_nid": "Q-8duzyUNn0", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysKernelGetIntdevModeForRcmgr_nid_postfix", "computed_nid": "EIZbVQs381s", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysKernelGetLowerLimitSysexVersion_nid_postfix", "computed_nid": "7dulKcLcwHI", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysKernelGetLowerLimitUpdVersion_nid_postfix", "computed_nid": "MMSo+k+Wp0Y", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysKernelGetManufacturingMode_nid_postfix", "computed_nid": "6jj29MbyzuI", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysKernelGetUpdVersion_nid_postfix", "computed_nid": "1U-s6o8XOcE", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysconf_nid_postfix", "computed_nid": "mkawd0NA9ts", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysctl_nid_postfix", "computed_nid": "DFmMT80xcNI", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysctlbyname_nid_postfix", "computed_nid": "MhC53TKmjVA", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" }, { "name": "sysctlnametomib_nid_postfix", "computed_nid": "UkEV4hvMo1E", "declarations": [ "core/libs/prx/libkernel/include/Api.hpp" ], "definitions": [ "core/libs/prx/libkernel/System/src/SystemConfiguration.cpp" ], "explicit_aliases": [], "version": "not encoded by these source declarations; not verified" } ], "findings": [], "limitations": [ "This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation.", "An absent source declaration or explicit alias can be intentional for assembly exports, conditional platform code, or generated interfaces; inspect findings before treating them as defects." ] } ``` Test-quality heuristic: ```text { "findings": [ { "path": "core/libs/tests/GuestSystemConfiguration.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." } ], "negative_control_candidates": [], "limits": [ "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error." ] } ``` </details> ## Findings ### Blocking The test expects a null-buffer `KERN_PROC_PROC` query to return exactly 1,088 bytes ([test lines 356–360](https://github.com/boykopovar/AnyPS5/blob/db910209afd4d78a8dd6cd4084ef69f080347518/core/libs/tests/GuestSystemConfiguration.cpp#L356-L360)); the implementation reports exactly one record through `CopyOut` ([implementation lines 466–476](https://github.com/boykopovar/AnyPS5/blob/db910209afd4d78a8dd6cd4084ef69f080347518/core/libs/prx/libkernel/System/src/SystemConfiguration.cpp#L466-L476)). The PR says console behavior is untested. The pinned FreeBSD 11.4 reference used for the record size instead reserves five `kinfo_proc` slots for a null-buffer query and then enumerates processes, so that reference does not support an exact one-record size result. Please remove the exact-size assertion until it is measured on console, or implement and test the intended size-query contract with evidence for any deliberate divergence. ### Non-blocking None. ## Sources - [FreeBSD 11.4 `kern_proc.c` at commit `8c639945a44588f6cfdddfb057bb5aad88735da0`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/kern/kern_proc.c#L1452-L1468) — validates accepted MIB length and the five-record null-buffer overestimate. - [FreeBSD 11.4 `kern_sysctl.c` at the same commit](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/kern/kern_sysctl.c#L1712-L1720) — shows a null output pointer still advances the reported output length. ## Not verified - No local build, CTest, or console run. The author reports Windows 11 / GCC 15.2.0 Release `system_configuration` passed; that result was not independently reproduced. - Hosted Windows, conventions, and labels checks were still queued at the final status refresh; Linux and specialized jobs were skipped. ## To get this to a good state Remove or replace the unmeasured exact size-query assertion, or provide console evidence supporting the intentional one-record behavior. I will rerun the same relevant checks on the new head.
jotitadev commented 2026-10-30 23:31:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-30T23:31:40Z.

Review: COMMENTED


Linux run (the thread so far has Windows only).

Machine: i7-8700, Ubuntu 26.04, GCC 15.2, Release, BUILD_TESTING=ON, Ninja. Head 3b379b4435 merged (--no-commit) onto main 2a1ae91175.

Check Result
guest_system_configuration passes 3/3
^guest_(system_configuration|kernel_sys_sdk|kernel_sys_upd) 3/3
public_headers passes
SystemConfiguration.cpp reverted to main, test kept aborts 3/3: sysctl_nid_postfix: unsupported MIB 1.14.8

The record checks (structSize, pid, comm == eboot.bin, nothing past 1,088 bytes) and the EINVAL/ENOMEM/EPERM cases hold on Linux as well.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5719782503 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13532#pullrequestreview-5719782503). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-30T23:31:40Z. **Review:** COMMENTED --- Linux run (the thread so far has Windows only). Machine: i7-8700, Ubuntu 26.04, GCC 15.2, Release, `BUILD_TESTING=ON`, Ninja. Head `3b379b4435` merged (`--no-commit`) onto `main` `2a1ae91175`. | Check | Result | |---|---| | `guest_system_configuration` | passes 3/3 | | `^guest_(system_configuration\|kernel_sys_sdk\|kernel_sys_upd)` | 3/3 | | `public_headers` | passes | | `SystemConfiguration.cpp` reverted to `main`, test kept | aborts 3/3: `sysctl_nid_postfix: unsupported MIB 1.14.8` | The record checks (`structSize`, `pid`, `comm` == `eboot.bin`, nothing past 1,088 bytes) and the `EINVAL`/`ENOMEM`/`EPERM` cases hold on Linux as well. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!13532
No description provided.