Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
|
|
|
|
* dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita
TAKAO <jargon@lares.dti.ne.jp>.
|
|
* node-nputl.c (diskfs_nput_light): Fix typo in function
declaration. Reported by Yamashita TAKAO
(jargon@lares.dti.ne.jp).
|
|
* boot.c (load_image): Fix typo in cast. Reported by Yamashita
TAKAO <jargon@lares.dti.ne.jp>.
|
|
* login.c (cat): Use munmap instead of vm_deallocate.
(check_owned): Likewise.
(kill_login): Likewise.
* storeread.c (main): Likewise.
* showtrans.c (main): Likewise.
* pids.c (add_fn_pids): Likewise.
* msgport.c (cmd_getenv): Likewise.
|
|
* mux.c (get_dirents): Use munmap instead of vm_deallocate.
(netfs_get_dirents): Likewise.
|
|
* dir.c (diskfs_lookup_hard): Use munmap instead of
vm_deallocate.
(diskfs_direnter_hard): Likewise.
(diskfs_dirremove_hard): Likewise.
(diskfs_dirrewrite_hard): Likewise.
(diskfs_dirempty): Likewise.
(diskfs_drop_dirstat): Likewise.
(diskfs_get_directs): Likewise.
* sizes.c (block_extended): Likewise.
(poke_pages): Likewise.
* hyper.c (get_hypermetadata): Likewise.
(diskfs_set_hypermetadata): Likewise.
|
|
* crash.c (stop_pgrp): Use munmap instead of vm_deallocate.
|
|
* clookup.c (file_name_lookup_carefully): Use munmap instead of
vm_deallocate.
|
|
* dev.c (dev_buf_fill): Use munmap instead of vm_deallocate.
(dev_close): Likewise.
(dev_read): Likewise.
* pager.c (pager_write_page): Likewise.
|
|
* info.c (get_string): Use munmap instead of vm_deallocate.
(get_vector): Likewise.
(get_string_array): Likewise.
(S_proc_getprocinfo): Likewise.
* mgt.c (S_proc_reauthenticate): Likewise.
(S_proc_dostop): Likewise.
(add_tasks): Likewise.
|
|
* io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
|
|
* io-ops.c (S_io_read): Use munmap instead of vm_deallocate.
(S_io_reauthenticate): Likewise.
|
|
* cache.c (create_cached_handle): Use munmap instead of
vm_deallocate.
|
|
* ops.c (netfs_get_dirents): Use munmap instead of vm_deallocate.
* pager.c (pager_read_page): Likewise.
|
|
* bunzip2.c (bunzip2): Use munmap instead of vm_deallocate.
(store_bunzip2_create): Likewise.
* rdwr.c (store_read): Likewise.
* gunzip.c (gunzip): Likewise.
(store_gunzip_create): Likewise.
* enc.c (store_enc_dealloc): Likewise.
* copy.c (copy_cleanup): Likewise.
|
|
* fsysops.c (fsys_get_readonly): Use munmap instead of vm_deallocate.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portinfo.c (print_port_info): Likewise.
(print_task_ports_info): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
|
|
* common.h (VMFREE): Use munmap instead of vm_deallocate.
* procstat.c (merge_procinfo): Likewise.
|
|
* pq.c (free_packets): Use munmap instead of vm_deallocate.
|
|
* data-return.c (_pager_do_write_request): Use munmap instead of
vm_deallocate.
* object-terminate.c (_pager_free_structure): Likewise.
* pagemap.c (_pager_pagemap_resize): Likewise.
* pager-memcpy.c (pager_memcpy): Likewise.
* pager.h (pager_write_page): Doc adjustment.
|
|
* io-read.c (netfs_S_io_read): Use munmap instead of
vm_deallocate.
* release-protid.c (netfs_release_protid): Likewise.
|
|
* iouser-reauth.c (iohelp_reauth): Use munmap instead of
vm_deallocate.
|
|
* file-get-trans.c (diskfs_S_file_get_translator): Use munmap
instead of vm_deallocate.
* io-read.c (diskfs_S_io_read): Likewise.
* protid-rele.c (diskfs_protid_rele): Likewise.
|
|
* lookup.c (diskfs_get_directs): Use munmap instead of
vm_deallocate.
|
|
* init.c (reboot_system): Use munmap instead of vm_deallocate.
(frob_kernel_process): Likewise.
(kill_everyone): Likewise.
|
|
* ccache.c (ccache_read): Use munmap instead of vm_deallocate.
(ccache_invalidate): Likewise.
(ccache_free): Likewise.
* netfs.c (get_dirents): Likewise.
|
|
* dir.c (diskfs_lookup_hard): Use munmap instead of vm_deallocate.
(diskfs_direnter_hard): Likewise.
(diskfs_dirremove_hard): Likewise.
(diskfs_dirrewrite_hard): Likewise.
(diskfs_dirempty): Likewise.
(diskfs_drop_dirstat): Likewise.
(diskfs_get_directs): Likewise.
* hyper.c (allocate_mod_map): Likewise.
(get_hypermetadata): Likewise.
* pager.c (free_page_buf): Likewise.
* truncate.c (poke_pages): Likewise.
|
|
* core.c (core_dump_task): Use munmap instead of vm_deallocate,
when it's from our own task.
* elfcore.c: Likewise.
* exec.c (load_section): Likewise.
(map): Likewise.
(close_exec_stream): Likewise.
(finish_mapping): Likewise.
(load): Likewise.
(do_exec): Likewise.
(S_exec_setexecdata): Likewise.
* hashexec.c (check_hashbang): Likewise.
* main.c (deadboot): Likewise.
|
|
* defpager.c (pager_read_page): Use munmap instead of
vm_deallocate.
|
|
* lmail.c (bfree): Use munmap instead of vm_deallocate.
|
|
* boot.c (load_image): Use munmap instead of vm_deallocate when
it's from our own task.
(boot_script_read_file): Likewise.
(boot_script_exec_cmd): Likewise.
(set_mach_stack_args): Likewise.
(ds_device_read_inband): Likewise.
|
|
|
|
* Makefile (INSTALL-addauth-ops, INSTALL-setauth-ops,
INSTALL-su-ops): Removed. These programs don't have to be
installed suid-root anymore.
* frobauth-mod.c (frobauth_modify): Do not try to set the owner of
the processes we're frobbing. The process set their owner
themselves when we pass them their new authentication.
|
|
|
|
* nref.c: New file; guts from netfs.h.
* nrele.c: Likewise.
* nput.c: Likewise.
* netfs.h (netfs_nref, netfs_nrele, netfs_nput): Replace inline
definitions with normal declarations.
(NETFS_EI): Remove macro.
* netfs.c: Deleted file.
* Makefile (OTHERSRCS): Add nref.c, nrele.c, nput.c. Remove
netfs.c.
|
|
* translated.c: New file; guts from fshelp.h.
* perms-isowner.c: Likewise.
* perms-access.c: Likewise.
* prems-checkdirmod.c: Likewise.
* touch.c: Likewise.
* fshelp.h (fshelp_translated, fshelp_isowner, fshelp_access,
fshelp_checkdirmod, fshelp_touch): Replace inline definitions with
ordinary declarations.
(FSHELP_EI): Removed macro.
* fshelp.c: Deleted file.
* Makefile (SRCS): Added translated.c, perms-isowner.c,
perms-access.c, perms-checkdirmod.c, touch.c. Removed fshelp.c.
|
|
* node-nref.c: New file; guts from diskfs.h.
* node-nput.c: Likewise.
* node-nrele.c: Likewise.
* node-nrefl.c: Likewise.
* node-nputl.c: Likewise.
* node-nrelel.c: LIkewise.
* diskfs.h (diskfs_nref, diskfs_nput, diskfs_nrele,
diskfs_nref_light, diskfs_nput_light, diskfs_nrele_light): Replace
inline definitions with ordinary declarations.
(DISKFS_EI): Removed macro.
* diskfs.c: Deleted file.
* Makefile (OTHERSRCS): Added node-nref.c, node-nput.c
node-nrele.c, node-nrefl.c, node-nputl.c, node-nrelel.c. Removed
diskfs.c.
|
|
* rc.sh: Specify bash instead of sh.
(remove_translators): Don't descend into "." or "..". Alter
calling convention slightly and require the `nullglob' option to
be set. Change caller to suit. From Kalle Olavi Niemitalo
<tosi@ees2.oulu.fi>.
|
|
|
|
* hyper.c (diskfs_readonly_changed): Adjust whether the store
should permit writes too.
|