1 /* 2 * QEMU mprotect functions 3 * 4 * This work is licensed under the terms of the GNU GPL, version 2 or later. 5 * See the COPYING file in the top-level directory. 6 */ 7 #ifndef QEMU_MPROTECT_H 8 #define QEMU_MPROTECT_H 9 10 int qemu_mprotect_rw(void *addr, size_t size); 11 int qemu_mprotect_rwx(void *addr, size_t size); 12 int qemu_mprotect_none(void *addr, size_t size); 13 14 #endif 15