Crystal
Developer
It's interesting to know if acces made on top of syscall rather than lv2 syscal had the same problems....indeed, is not working.
I was doing a few tests, and for some reason the lv2 syscall 816 (sys_fs_access) crashes badly. When looking at the code, everything matches the PS dev wiki , but I guess there's something that causes such "kernel panic" behavior.
As access() is not a critical function, I think that your solution with a standard C implementation is a good alternative. Many times access is just used to check if a file exists.
btw, I fixed it on my fork, using the code from your update as base:
https://github.com/bucanero/PSL1GHT/blob/master/ppu/librt/access.c
