diff --git a/src/bin/debug/strace/area.cpp b/src/bin/debug/strace/area.cpp index e16cc93756..d57964d05c 100644 --- a/src/bin/debug/strace/area.cpp +++ b/src/bin/debug/strace/area.cpp @@ -58,4 +58,8 @@ patch_area() map_file->GetParameter("address")->SetInOut(true); map_file->GetParameter("protection")->SetHandler( new FlagsTypeHandler(kAreaProtectionFlags)); + + Syscall *set_memory_protection = get_syscall("_kern_set_memory_protection"); + set_memory_protection->GetParameter("protection")->SetHandler( + new FlagsTypeHandler(kAreaProtectionFlags)); }