Skip to content

feat: POSIX conformance hardening (US-043–US-049)#49

Merged
NathanFlurry merged 1 commit intomainfrom
ralph/posix-conformance-tests
Mar 24, 2026
Merged

feat: POSIX conformance hardening (US-043–US-049)#49
NathanFlurry merged 1 commit intomainfrom
ralph/posix-conformance-tests

Conversation

@NathanFlurry
Copy link
Member

Summary

  • Implement F_DUPFD/F_DUPFD_CLOEXEC in fcntl sysroot override
  • Add EINVAL bounds check to pthread_key_delete for invalid keys
  • Increase fmtmsg buffer size and add MM_RECOVER classification
  • Fix pipe pollState to use byte count instead of chunk count
  • Add missing FHS directories (/opt, /mnt, /media, /home, /dev/shm, /dev/pts)
  • Document net_poll permission removal and pthread_mutex_timedlock limitation
  • Fix statvfs exclusion issue link and nativeParity report metric

Follows up on PR #46 with fixes from adversarial code review.

Test plan

  • All 3347 POSIX conformance tests still pass
  • Typecheck passes
  • No regressions in existing test suites

Generated with Claude Code

Fixes from adversarial review of POSIX implementation:

- Implement F_DUPFD and F_DUPFD_CLOEXEC in fcntl sysroot override
- Add EINVAL bounds check to pthread_key_delete for invalid keys
- Increase fmtmsg buffer size and add MM_RECOVER classification
- Fix pipe pollState to use byte count instead of chunk count
- Add missing FHS directories to kernel init (/opt, /mnt, /media, /home, /dev/shm, /dev/pts)
- Document net_poll permission removal and pthread_mutex_timedlock limitation
- Fix statvfs exclusion issue link and nativeParity report metric

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@NathanFlurry NathanFlurry merged commit 2783baf into main Mar 24, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant