You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest setting it to rootvnode if the request to set prison is root. It works well in my tests.
// CtrlDriver.cpp// CtrlDriver::SetThreadCredentials
auto l_ThreadCredential=l_Thread->td_ucred;
auto l_ThreadFd=l_Thread->td_proc->p_fd;
...
if (p_Input.Prison==MiraThreadCredentials::_MiraThreadCredentialsPrison::Root) {
l_ThreadCredential->cr_prison=*(structprison**)kdlsym(prison0);
l_ThreadFd->fd_rdir=l_ThreadFd->fd_jdir=*(structvnode**)kdlsym(rootvnode);
}
There seems to be no way to set
fd_rdir
andfd_jdir
via/dev/mira
ioctls, which is required in utility apps for accessing PS4 filesystem.The text was updated successfully, but these errors were encountered: