Age | Commit message (Collapse) | Author |
|
* bunzip2.c (bunzip2): Use mmap instead of vm_allocate.
* copy.c (copy_read): Likewise.
(copy_clone): Likewise.
* encode.c (store_encode): Likewise.
* gunzip.c (gunzip): Likewise.
* rdwr.c (store_read): Likewise.
* zero.c (zero_read): Likewise.
|
|
* pq.c (packet_realloc): Use mmap instead of vm_allocate.
(packet_read_ports): Likewise.
(packet_read): Likewise.
|
|
* pagemap.c (_pager_pagemap_resize): Use mmap instead of vm_allocate.
|
|
* file-get-storage-info.c (netfs_S_file_get_storage_info): Use
mmap instead of vm_allocate.
* file-get-translator.c (netfs_S_file_get_translator): Likewise.
* io-read.c (netfs_S_io_read): Likewise.
|
|
* return-buffer.c (iohelp_return_malloced_buffer): Use mmap
instead of vm_allocate.
|
|
* boot-start.c (diskfs_S_exec_startup_get_info): Use mmap instead
of vm_allocate.
(diskfs_S_fsys_init): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* io-read.c (diskfs_S_io_read): Likewise.
|
|
* lookup.c (diskfs_get_directs): Use mmap instead of vm_allocate.
* pager.c (pager_read_page): Likewise.
|
|
* init.c (frob_kernel_process): Use mmap instead of vm_allocate.
|
|
* mux.c (netfs_get_dirents): Use mmap instead of vm_allocate.
|
|
* ccache.c (ccache_read): Use mmap instead of vm_allocate.
* netfs.c (get_dirents): Likewise.
|
|
* dir.c (diskfs_get_directs): Use mmap instead of vm_allocate.
* hyper.c (allocate_mod_map): Likewise.
(get_hypermetadata): Likewise.
* pager.c (get_page_buf): Likewise.
* hyper.c (diskfs_readonly_changed): Use mprotect instead of
vm_protect.
|
|
* exec.c (load_section): Use mmap instead of vm_allocate when
allocating in mach_task_self ().
(servercopy): Likewise.
(do_exec): Likewise.
* hashexec.c (check_hashbang): Likewise.
|
|
* boot.c (load_image): Use mmap instead of vm_allocate, when
allocating in mach_task_self ().
(boot_script_exec_cmd): Likewise.
(set_mach_stack_args): Likewise.
(read_reply): Likewise.
(S_io_read): Likewise.
|
|
|
|
|
|
* console-run.c (open_console): Move first setting of TERMINAL and
ARGZ_LEN outside of loop, quiets compiler warning.
|
|
|
|
* priv.h: Add #include <sys/mman.h> for munmap decl.
* pager-memcpy.c: Likewise.
|
|
|
|
* portinfo.h: Add #include <sys/mman.h> for munmap decl.
* fsysops.c: Likewise.
* idvec-auth.c: Likewise.
* portxlate.c: Likewise.
|
|
|
|
* io-read.c: Add #include <sys/mman.h> for munmap decl.
* release-protid.c: Likewise.
|
|
* iouser-reauth.c: Add #include <sys/mman.h> for munmap decl.
|
|
* common.h: Add #include <sys/mman.h> for munmap decl.
|
|
* pq.c: Add #include <sys/mman.h> for munmap decl.
|
|
|
|
* clookup.c: Add #include <sys/mman.h>.
|
|
* Makefile (special-targets): Add losetup.
(SCRIPTS): Add losetup.sh.
* losetup.sh: New file.
|
|
* priv.h: Add #include <sys/mman.h> for munmap decl.
|
|
* netfs.c: Add #include <sys/mman.h> for munmap decl.
* ccache.c: Likewise.
|
|
* hostarch.c (mach_host_elf_machine): Replaced with ...
(elf_machine_matches_host): New function. Instead of returning
an ELF EM_* code, take one and check if it matches the host;
operate only on mach_host_self(), cache results,
Grok CPU_TYPE_{I486,PENTIUM,PENTIUMPRO} to accept EM_386 or EM_486.
Grok POWERPC, ALPHA, HPPA types.
* exec.c (check_elf): Call elf_machine_matches_host instead of
comparing against elf_machine.
(load_section): #if 0 out no-op code that uses elf_machine.
* priv.h (elf_machine_matches_host): Declare it.
(elf_machine, mach_host_elf_machine): Remove decls.
* main.c (main) [!BFD]: Don't call mach_host_elf_machine.
(elf_machine): Variable removed.
|
|
* init.c: Add #include <sys/mman.h> for munmap decl.
|
|
* isofs.h: Add #include <sys/mman.h> for munmap decl.
|
|
* info.c: Add #include <sys/mman.h> for munmap decl.
* mgt.c: Likewise.
|
|
* priv.h: Add #include <sys/mman.h> for munmap decl.
|
|
* io-ops.c: Add #include <sys/mman.h> for munmap decl.
|
|
* io.c: Add #include <sys/mman.h> for munmap decl.
|
|
* cache.c: Add #include <sys/mman.h> for munmap decl.
|
|
* mux.c: Add #include <sys/mman.h> for munmap decl.
|
|
* ext2fs.h: Add #include <sys/mman.h> for munmap decl.
|
|
* ufs.h: Add #include <sys/mman.h> for munmap decl.
|
|
* portinfo.h: Add #include <sys/mman.h> for munmap decl.
* fsysops.c: Likewise.
* idvec-auth.c: Likewise.
|
|
* remap.c (remap_open): Recognize "N+" syntax in block list as from
block N through the end of the store.
|
|
* rdwr.c: Add #include <sys/mman.h> for munmap decl.
* enc.c: Likewise.
* copy.c: Likewise.
* gunzip.c: Likewise.
* bunzip2.c: Likewise.
|
|
* nfs.h: Add #include <sys/mman.h> for munmap decl.
|
|
* crash.c: Add #include <sys/mman.h> for munmap decl.
|
|
* lmail.c: Add #include <sys/mman.h> for munmap decl.
|
|
* boot.c: Add #include <sys/mman.h> for munmap decl.
|
|
|
|
* dev.c: Add #include <sys/mman.h> for munmap decl.
* pager.c: Likewise.
|