diff options
author | Yifan Lu | 2016-10-05 22:49:07 -0700 |
---|---|---|
committer | Yifan Lu | 2016-10-05 22:49:07 -0700 |
commit | 95f638877b02ef684a48e485874b42b2767695fd (patch) | |
tree | 32d23eea740258d83099f8457b8f35190b553a80 /lib/execmem.h | |
parent | Fixed missing trampoline_size_left decrement for making initial trampoline jump (diff) | |
download | substitute-95f638877b02ef684a48e485874b42b2767695fd.tar.gz |
execmem_alloc_unsealed now outputs a separate pointer for exec and writing to allow for mirrored writes
Diffstat (limited to 'lib/execmem.h')
-rw-r--r-- | lib/execmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/execmem.h b/lib/execmem.h index 87ca461..8817f38 100644 --- a/lib/execmem.h +++ b/lib/execmem.h @@ -1,7 +1,7 @@ #pragma once #include <sys/types.h> /* For allocating trampolines - this is just a mmap wrapper. */ -int execmem_alloc_unsealed(uintptr_t hint, void **page_p, size_t *size_p); +int execmem_alloc_unsealed(uintptr_t hint, void **page_p, uintptr_t *vma_p, size_t *size_p); int execmem_seal(void *page); void execmem_free(void *page); |