- include uvm_extern.h for vm_prot_t.
- add a forward decl of struct lwp.
This commit is contained in:
parent
24a777197d
commit
39c1d8e71e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pax.h,v 1.2 2006/05/20 15:45:38 elad Exp $ */
|
||||
/* $NetBSD: pax.h,v 1.3 2006/10/12 09:28:05 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006 Elad Efrat <elad@NetBSD.org>
|
||||
|
@ -33,6 +33,10 @@
|
|||
#ifndef __SYS_PAX_H__
|
||||
#define __SYS_PAX_H__
|
||||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
struct lwp;
|
||||
|
||||
void pax_mprotect(struct lwp *, vm_prot_t *, vm_prot_t *);
|
||||
void pax_mprotect_adjust(struct lwp *, int);
|
||||
|
||||
|
|
Loading…
Reference in New Issue