Commit Graph
7 Commits
Author SHA1 Message Date
valenciana-nc 413b1237b2 test(libkernel): use a fresh directory for the read-only buffer check 2026-10-19 06:33:12 -06:00
valenciana-nc 950eeb847d fix(libkernel): keep the getdirentries base guard open through its write and check the descriptor first 2026-10-18 19:00:40 -06:00
valenciana-nc 25d26b54a8 test(libkernel): cover read-only getdirentries destinations on Windows 2026-10-19 00:22:09 +00:00
mattogepetoandClaude Opus 5.5 b808658488 test(libkernel): expect the FreeBSD errors in the Windows directory tests
guest_directory_close expected ENOTDIR from getdents on a descriptor number
reused by a regular file, and guest_directory_buffer expected ENOTDIR for
descriptor -1. kern_getdirentries returns EINVAL for a vnode that is not a
directory and getvnode returns EBADF for a descriptor that is not open, which
is what sceKernelGetdirentries now reports on Windows.

Written with AI assistance (Claude).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 16:35:15 +02:00
ArjenS-LA d31e283088 fix(libkernel): throw for unsupported directory entry names 2026-10-12 21:14:01 +00:00
ArjenS-LA b41c0b3da9 fix(libkernel): reject oversized Windows directory entry names
(cherry picked from commit b0e0c1c4bfd1487047873663115a94a46987b831)
2026-10-12 01:51:01 +00:00
RomainROCH 021eb65b51 fix(libkernel): report undersized Windows directory buffers 2026-10-01 23:24:41 +02:00