MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_mprotect

Function syscall_mprotect

source/kernel/syscall.cpp:734–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734static U32 syscall_mprotect(CPU* cpu, U32 eipCount) {
735 SYS_LOG1(SYSCALL_MEMORY, cpu, "mprotect: address=%X len=%d prot=%X", ARG1, ARG2, ARG3);
736 U32 result = cpu->memory->mprotect(cpu->thread, ARG1, ARG2, ARG3);
737 SYS_LOG(SYSCALL_MEMORY, cpu, " result=%d(0x%X)\n", result, result);
738 return result;
739}
740
741static U32 syscall_fchdir(CPU* cpu, U32 eipCount) {
742 SYS_LOG1(SYSCALL_PROCESS, cpu, "fchdir: fd=%d", ARG1);

Callers

nothing calls this directly

Calls 1

mprotectMethod · 0.80

Tested by

no test coverage detected