(CTR/3DS) add a warning message when mprotect is called without the
authoraliaspider <aliaspider@gmail.com>
Thu, 1 Oct 2015 02:29:52 +0000 (03:29 +0100)
committeraliaspider <aliaspider@gmail.com>
Thu, 1 Oct 2015 02:29:52 +0000 (03:29 +0100)
needed svc access.

frontend/3ds/sys/mman.h

index c93b13b..2a82e32 100644 (file)
@@ -48,6 +48,7 @@ static inline int mprotect(void *addr, size_t len, int prot)
       return 0;
    }
 
+   printf("mprotect called without svcControlProcessMemory access !\n");
    return -1;
 }