Skip to content

feat(posix): add mkostemp inventory export - #13141

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
Celegans12:feat/posix-inventory-exports-20261030
Nov 1, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
Celegans12:feat/posix-inventory-exports-20261030

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Adds the remaining named mkostemp inventory export (QP8dYkB8zCU) to the existing libScePosixForWebKit provider.

The binding comes from LIBRARIES.md and the per-library metadata, pinned to bfec40deb4c47a17d7603ee2bc79aa6862c0c56b. The existing provider owns the other 37 current named identities. The guest symbol is mkostemp_nid_postfix, matching the established mkstemp alias pattern and keeping it separate from the host C library function.

The new call immediately throws through NotImplemented_nid_no_patch. Its parameterless int declaration is an import-resolution placeholder, not a verified ABI prototype. Unknown signature and behavior are recorded in technical debt. This does not implement file creation or WebKit behavior.

Tested

Linux x86-64, GCC 13.3. Current topic base: upstream main 5ecef095b61e7a406b279c97896f3a8a6fbd6353.

  • python3 tools/check_conventions.py --base origin/main, public_headers, C++20 source compilation and whitespace checks passed.
  • The name/NID pair matches the pinned metadata and independent recomputation. A minimal DSO patched with the repository NID patcher contained QP8dYkB8zCU exactly once.
  • In the earlier combined baseline/change native run on base acf46d4ff8828fa514b88936cb8288f6cfc7334e, guest_posix_random and guest_posix_thread_name passed in both trees. guest_posix_filesystem and guest_posix_wrap failed identically in both trees because process_vm_readv returned EPERM in this sandbox. No new failure appeared.
  • Exact history review found no rejection of this export. Closed fix(libkernel): create the JIT shared memory backing on macOS hosts #6928 uses the host mkostemp in an unrelated kernel JIT file; merged feat(posix): implement mkstemp and isatty #1613 implements the distinct mkstemp export.
  • tools/pr_overlap.py scanned the final topic head against all 1,461 open pull requests and reported no overlap.

The full all-library build and full CTest suite were not run. No Windows, PS5 hardware, GPU, title or Ghost of Yōtei validation. No tests were added solely to check symbol existence.

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: none
  • GPUs tested: n/a
  • AI-assisted: yes (ChatGPT Work)

@github-actions

Copy link
Copy Markdown

Progress report (5ecef09 → 4451155)

📉 System libraries: 43.24% (-0.0027%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libScePosixForWebKit mkostemp_nid_postfix

Changed libraries (implemented exports)

Library Before After Change
libScePosixForWebKit 29/37 (78.38%) 29/38 (76.32%) -2.06%

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 14157 docs/dev/debt/libScePosixForWebKit.md L7

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 14212 docs/dev/debt/libScePosixForWebKit.md

@oneandonlydean
oneandonlydean merged commit bd8c221 into boykopovar:main Nov 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants