mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
kldstat was a NotImplemented stub. It now follows FreeBSD 11.4's sys_kldstat (sys/kern/kern_linker.c): only the version field is read (EFAULT when that fails), and a version other than 1056 (struct kld_file_stat_1) or 2080 (struct kld_file_stat) is EINVAL. No linker file is listed here, as for kldnext, so every file id then gets ENOENT and the structure is never written. Co-Authored-By: Claude Opus 5.5 <[email protected]>