[NaCl SDK] kernel_wrap_tests: Setup munmap mocks before calling ki_init
If munmap is called during ki_init() in a kernel_wrap_test, it will print a message saying the call was unexpected. This will cause a deadlock since it is trying to print a message inside the memory allocator. BUG=378596 R=sbc@chromium.org CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_nacl_sdk;tryserver.chromium.mac:mac_nacl_sdk;tryserver.chromium.win:win_nacl_sdk Review URL: https://codereview.chromium.org/1681223004 Cr-Commit-Position: refs/heads/master@{#374745}
Showing
Please register or sign in to comment