misc: Improve kernel syscall checks

Fix some stuffs around.

Based on kernel 11.14
This commit is contained in:
Mary 2023-06-17 00:32:55 +02:00
parent d0ae5f0546
commit 6d9964c64b
5 changed files with 116 additions and 38 deletions

View file

@ -104,6 +104,8 @@ private:
std::string getProcessName(u32 pid);
const char* resetTypeToString(u32 type);
int copyStringFromUser(u8 *dst, u32 src, u32 size);
MAKE_LOG_FUNCTION(log, kernelLogger)
MAKE_LOG_FUNCTION(logSVC, svcLogger)
MAKE_LOG_FUNCTION(logThread, threadLogger)