Age | Commit message (Collapse) | Author |
|
|
|
* rpctrace.c: New file, from josem and gord. Not yet functional.
* Makefile (rpctrace): New target.
(targets): Add rpctrace.
(SRCS): Add rpctrace.c.
|
|
|
|
|
|
* file-get-storage-info.c: Add #include <sys/mman.h>.
* file-get-translator.c: Likewise.
|
|
* portinfo.h: Don't include <sys/types.h>, <sys/mman.h>.
This is an exported header, and its decls don't need them.
* portinfo.c: Include them here instead.
* xportinfo.c: And here.
|
|
|
|
* firmlink.c: Add #include <sys/mman.h>.
|
|
|
|
* proc.h: Add #include <sys/mman.h>.
|
|
* firmlink.c: Add #include <sys/mman.h>.
(trivfs_S_io_read): Fix sloppy bugs in last change.
|
|
* term.h: Add #include <sys/mman.h>.
|
|
* dev.c (dev_read: ensure_buf): Fix sloppy bugs in last change.
|
|
* sock.h: Add #include <sys/mman.h>.
|
|
* pfinet.h: Add #include <sys/mman.h> for munmap decl.
|
|
* file-get-storage-info.c: Add #include <sys/mman.h>.
|
|
* dir.c (diskfs_get_directs): Fix sloppy bugs in last change.
* hyper.c (allocate_mod_map): Likewise.
* pager.c (get_page_buf): Likewise.
|
|
* boot-start.c (diskfs_S_exec_startup_get_info): Typo in last change.
|
|
* mux.c: Add #include <sys/mman.h>.
|
|
* exec.c (load_section): Fix typos in last change.
|
|
* boot.c (ds_device_read, S_io_read): Fix sloppy bugs in last change.
|
|
* argp.c (store_parsed_open): Add more braces to clarify if-else
structure.
* encode.c: Include <sys/mman.h>
* zero.c: Likewise.
* encode.c (store_encode): Repair syntax.
* copy.c (copy_read): Likewise.
* enc.c (store_enc_dealloc): Cast first arg of munmap correctly.
|
|
* ugids-argp.c (parse_opt): Clarify if-then-else structure by
adding more braces.
* portinfo.h: Include <sys/types.h>.
* portxlate.c: Likewise.
* portinfo.c: (print_port_info): Cast first arg of munmap correctly.
(print_task_ports_info): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
|
|
* return-buffer.c: Include <sys/mman.h>.
* iouser-reauth.c (iohelp_reauth): Cast first arg to munmap
correctly.
|
|
* set-options.c (fshelp_set_options): Explicitly cast first arg to
argz_extract to keep GCC quiet.
|
|
* ugids-argp.c (parse_opt): Clarify if-then-else structure by
adding more braces.
* portinfo.c (print_port_info): Cast first arg of munmap
correctly.
(print_task_ports_info): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
|
|
* mux.c (get_dirents): Use mmap instead of vm_allocate.
(netfs_get_dirents): Likewise.
|
|
* dir.c (diskfs_get_directs): Use mmap instead of vm_allocate.
* hyper.c (get_hypermetadata): Likewise.
* pager.c (pager_read_page): Likewise.
|
|
* firmlink.c (trivfs_S_io_read): Use mmap instead of vm_allocate.
|
|
* ptyio.c (pty_io_read): Use mmap instead of vm_allocate.
* users.c (trivfs_S_io_read): Likewise.
|
|
* dev.c (dev_open): Use mmap instead of vm_allocate.
(dev_read): Likewise.
|
|
* info.c (get_string_array): Use mmap instead of vm_allocate.
(S_proc_getprocinfo): Likewise.
(S_proc_getloginpids): Likewise.
* mgt.c (S_proc_getallpids): Likewise.
* pgrp.c (S_proc_getsessionpids): Likewise.
(S_proc_getsessionpgids): Likewise.
(S_proc_getpgrppids): Likewise.
|
|
* pf.c (S_socket_whatis_address): Use mmap instead of vm_allocate.
|
|
* io-ops.c (S_io_read): Use mmap instead of vm_allocate.
* socket-ops.c (S_socket_whatis_address): Likewise.
|
|
* ops.c (netfs_get_dirents): Use mmap instead of vm_allocate.
* pager.c (pager_read_page): Likewise.
|
|
* utmp.c (return_data): Use mmap instead of vm_allocate.
|
|
* 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.
|
|
|