• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <sys/mman.h>
2 #include "syscall.h"
3 
dummy(void)4 static void dummy(void) { }
5 weak_alias(dummy, __vm_wait);
6 
__munmap(void * start,size_t len)7 int __munmap(void *start, size_t len)
8 {
9 	__vm_wait();
10 	return syscall(SYS_munmap, start, len);
11 }
12 
13 weak_alias(__munmap, munmap);
14