Official MINIX sources - Automatically replicated from gerrit.minix3.org
. libc: add vfs_mmap, a way for vfs to initiate mmap()s. This is a good special case to have as vfs is a slightly different client from regular user processes. It doesn't do it for itself, and has the dev & inode info already so the callback to VFS for the lookup isn't necessary. So it has different info to have to give to VM. . libc: also add minix_mmap64() that accepts a 64-bit offset, even though our off_t is still 32 bit now. . On exec() time, try to mmap() in the executable if available. (It is not yet available in this commit.) . To support mmap(), add do_vm_call that allows VM to lookup (to ino+dev), do i/o from and close FD's on behalf of other processes. Change-Id: I831551e45a6781c74313c450eb9c967a68505932 |
||
|---|---|---|
| benchmarks | ||
| bin | ||
| commands | ||
| common | ||
| dist/nvi | ||
| distrib | ||
| docs | ||
| drivers | ||
| etc | ||
| external | ||
| gnu/dist | ||
| include | ||
| kernel | ||
| lib | ||
| libexec | ||
| man | ||
| releasetools | ||
| sbin | ||
| servers | ||
| share | ||
| sys | ||
| test | ||
| tools | ||
| usr.bin | ||
| usr.sbin | ||
| .gitignore | ||
| .gitreview | ||
| build.sh | ||
| LICENSE | ||
| Makefile | ||