[PATCH] D93731: scudo: Support memory tagging in the secondary allocator.
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 8 07:59:48 PST 2021
cryptoad added inline comments.
================
Comment at: compiler-rt/lib/scudo/standalone/fuchsia.cpp:140
+ UNUSED MapPlatformData *Data) {
+ const zx_vm_option_t Prot =
+ (Flags & MAP_NOACCESS) ? 0 : (ZX_VM_PERM_READ | ZX_VM_PERM_WRITE);
----------------
So this ended up not working for me, because the protection must have at least 1 flag (https://fuchsia.dev/fuchsia-src/reference/syscalls/vmar_protect#description)
Did it work for you?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93731/new/
https://reviews.llvm.org/D93731
More information about the llvm-commits
mailing list