aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/mprotect.h
blob: 1e83d1433eef6c0d1ca9b59ec2365c9b3b995ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * QEMU mprotect functions
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */
#ifndef QEMU_MPROTECT_H
#define QEMU_MPROTECT_H

int qemu_mprotect_rw(void *addr, size_t size);
int qemu_mprotect_rwx(void *addr, size_t size);
int qemu_mprotect_none(void *addr, size_t size);

#endif