kernel: release descriptors when rejecting read-only truncation #504
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!504
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/504/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Mininaut on GitHub · 2026-09-07 14:31 UTC · original
Mininaut:fix/kernel-open-rejected-descriptor→main· +1 −0 · 1 files · 1 commits · merged 2026-09-12 13:44 UTCRelease the descriptor allocated by
KernelOpenbefore returningKERNEL_ERROR_EACCESfor read-only truncation. Repeated rejected opens otherwise retain guest descriptor slots and their allocations until filesystem shutdown.The patch contains only the missing
DeleteDescriptorcall. No test files or test-target changes are included.Validation: checked descriptor allocation/cleanup and the neighboring failure paths;
git diff --checkpasses. No build or runtime tests were run for this revision.