Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threadless Base #137

Draft
wants to merge 164 commits into
base: develop
Choose a base branch
from
Draft

Threadless Base #137

wants to merge 164 commits into from

Conversation

kiwidoggie
Copy link
Collaborator

No description provided.

kuser added 17 commits August 29, 2020 15:27
Add TrainerManager to Mira startup
Add OrbisOS::Utilities::MountInSandbox
Add shm functions to syswrappers

Change CtrlDriver to use the new MountInsandbox util

Fix substitute build errors

Remove MiraShm debug functions
NOTE: GetThreadCredentials now accepts <= 0 as "current thread"
Add updated image_params struct (from ChendoChap)
Add output sandboxed path to OrbisOS::Utilities::MountInSandbox

Fix dynlib_load_prx_args
Fix kdynlib_load_prx_t in SysWrappers
Fix memory usage in ThreadInjection function (was blowing the stack)
Fix bug in MountInSandbox using the wrong thread for reading vn_fullpath

Remove framework from eventhandlers
Rename Morpheus/RemotePlayEnabler to *Activator
Add Get/SetConfig to the device driver
@kiwidoggie kiwidoggie self-assigned this Oct 12, 2020
@kiwidoggie kiwidoggie marked this pull request as draft October 15, 2020 12:15
kuser and others added 11 commits October 19, 2020 23:08
Add ability to send sysVerif to hell

Enable sceSblACMgrGetPathId hook
Cleanup some CtrlDriver code
Remove Substitute2
Re-enable eventhandlers

Add mutex to CtrlDriver to protect data
Add Add,Remove,GetEntryPoint to CtrlDriver
Add OnSvFixup to TrainerManager
Add injectable stub

Remove old debug code in TrainerManager

Disable Substitute syscall hook
Disable TrainerManager::OnProcessExecEnd in favor of sv_fixup hook
Change trainer_loader to be cpp
Enable killing ShellUI for reloading
Fix WriteLog bug (OrbisOS/MountManager) where int was being printed as string potentially causing issues

Add additional fields to InitParams_t for use later
Add FindSignature to TrainerUtils for dynamic kernel patching
Add MountManager to handle mounting/unmounting from sandbox/fs
Add more documentation
Add sysctl SysWrappers syscall
Add additional info to MiraLoader for dynamic kernel patches

Remove broken ass patch (DeathRGH overwrites other opcodes causing kpanic when using ptrace)
Remove MountNullFs, MountInSandbox from OrbisOS::Utilities

Update CtrlDriver to use new MountManager
Update TrainerManager to use new MountManager
Add ShellUI thread injection for trainer_loader

Replace copyout with proc_rw_mem for TrainerManager::AllocateTrainerLoader

TEMP: Add hack to expose AllocateTrainerLoader

Fix launch type to be normal by default.
…g now)

Disable stat errors if the error was not found (no directory/entity exists)

Add log when unknown ioctl was passed to TrainerManager
Add DirectoryExists to MountManager
Add process name to CtrlDriver

Implement MountManager::DestroyMount (WIP)
Fix daemon build
Fix corruption when displaying FreePath in MountManager
Fix directory not being created when Mounting in sandbox
Fix incorrect arguments being passed to MountNullFs
Fix mira_module build
Fix tests build
Fix trainer_loader not closing device driver when finished

Replace daemon CMake file
Replace example_trainer CMake file
Replace mira_module CMake file
Replace oosdk build script
Replace tests CMake file

Remove /_substitute mounting as it's redundant, everything is now mounted under _mira
Remove _mira_elf_start from trainer_loader
Remove opening /dev/console in trainer_loader

Implement unmounting in MountManager
Fix TrainerManager pathing for sandbox creation
Fix MountManager::DirectoryExists
Fix verbosity of TrainerManager/MountManager
Convert daemon to prx for rapid testing
Fix root CMakeLists environment variable not being set

Refactor Driver IOCTL's for consistency
Fix TrainerLoader build
Move Trainer IOCTL out of TrainerManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants