diff options
author | comex | 2015-01-24 20:04:20 -0500 |
---|---|---|
committer | comex | 2015-01-24 20:06:46 -0500 |
commit | d89af8f6d5f3b971dda663081c03d790437c2f03 (patch) | |
tree | 2c17f0247ff3eef7d4338cadb069b1334ba785c6 /lib/substitute.h | |
parent | Current version of generic-dis-*, for posterity (I'm sure it'll need to be ch... (diff) | |
download | substitute-d89af8f6d5f3b971dda663081c03d790437c2f03.tar.gz |
Add function to deal with mprotecting RW and back. A bit more complex than the minimum would be...
(and minor build fixes)
Diffstat (limited to '')
-rw-r--r-- | lib/substitute.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/substitute.h b/lib/substitute.h index ada57f2..95f8436 100644 --- a/lib/substitute.h +++ b/lib/substitute.h @@ -39,6 +39,7 @@ enum { /* substitute_hook_functions: mmap or mprotect failure other than ENOMEM * (preserved in errno on return) + * substitute_hook_functions: vm_region failure (errno = 0) * substitute_hook_objc_message: vm_remap failure * Most likely to come up with substitute_hook_functions if the kernel is * preventing pages from being marked executable. */ |