From d3ea2155062131724c01d7f6727fdf90a4063b4d Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 25 Jan 2015 01:26:43 -0500 Subject: fixes --- lib/execmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/execmem.h') diff --git a/lib/execmem.h b/lib/execmem.h index a1cd47e..b4860e9 100644 --- a/lib/execmem.h +++ b/lib/execmem.h @@ -1,9 +1,9 @@ #pragma once #include -/* write to a foreign page which is already RX / with unknown permissions */ +/* Write to a foreign page which is already RX / with unknown permissions. */ int execmem_write(void *dest, const void *src, size_t len); -/* for allocating trampolines */ +/* 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_seal(void *page); void execmem_free(void *page); -- cgit v1.2.3