Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* pids.c: Add #include <sys/mman.h> for munmap decl.
* showtrans.c: Likewise.
* login.c: Likewise.
* storeread.c: Likewise.
* msgport.c: Likewise.
|
|
|
|
* 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.
* exec.c (map): Don't cast arg to munmap to vm_address_t.
|
|
* 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.
|
|
* 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.
* priv.h: Add #include <sys/mman.h> for munmap decl.
|
|
|
|
|
|
|