process/vm: implement access_ok()
This commit is contained in:
committed by
Balazs Gerofi
parent
e29a40331d
commit
42bbf5f2a4
@@ -830,4 +830,8 @@ void proc_init();
|
||||
void set_timer();
|
||||
struct sig_pending *hassigpending(struct thread *thread);
|
||||
|
||||
#define VERIFY_READ 0
|
||||
#define VERIFY_WRITE 1
|
||||
int access_ok(struct process_vm *vm, int type, uintptr_t addr, size_t len);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user