ld.elf_so, grep, make: use mmap()66/566/14
commite92490cf47695ecdf5e50f4aa192f5b81d6ec8be
authorBen Gras <ben@minix3.org>
Sat, 16 Mar 2013 03:19:47 +0000 (16 03:19 +0000)
committerBen Gras <ben@minix3.org>
Fri, 31 May 2013 15:42:01 +0000 (31 15:42 +0000)
tree50b377005b49e8dcf36ee0112b446e6727f673b1
parent49b9165251d9848f900767f9d1ff81ed9affa757
ld.elf_so, grep, make: use mmap()

. let the dynamic linker use a real file mmap(), reverting
  most of the minix-specific changes
. except for a fallback mode for systems or filesystems that
  do not support mmap() on files
. make, grep: let them use mmap() too, with fallback

Change-Id: I11c0c9ad439d713917a6f5c2d196558f6c03eabd
commands/grep/file.c
commands/grep/mmfile.c
libexec/ld.elf_so/Makefile
libexec/ld.elf_so/map_object.c
libexec/ld.elf_so/map_object_fallback.c [copied from libexec/ld.elf_so/map_object.c with 91% similarity]
libexec/ld.elf_so/rtld.h
usr.bin/make/parse.c