| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Otherwise it would successfully compare to any port that happens to be
MACH_PORT_DEAD, e.g. the bootstrap port.
|
|
|
|
|
|
|
|
| |
Most servers have at least one RPC which is benign enough to be used to
identify whether a port supports the server and provides some useful
information to identify what the port is about. This adds support for
most of these, allowing to identify auth ports, file descriptors,
sockets, etc.
|
| |
|
|
|
|
| |
* portinfo.c (print_port_info): Use %z formats for port names.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|