Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

unexport do_mmap()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro cf74d14c 4ad310b8

-2
-1
mm/mmap.c
··· 1118 1118 return -EINVAL; 1119 1119 return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); 1120 1120 } 1121 - EXPORT_SYMBOL(do_mmap); 1122 1121 1123 1122 unsigned long vm_mmap(struct file *file, unsigned long addr, 1124 1123 unsigned long len, unsigned long prot,
-1
mm/nommu.c
··· 1481 1481 return -EINVAL; 1482 1482 return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); 1483 1483 } 1484 - EXPORT_SYMBOL(do_mmap); 1485 1484 1486 1485 unsigned long vm_mmap(struct file *file, unsigned long addr, 1487 1486 unsigned long len, unsigned long prot,