| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Message-Id: <20230508213136.608575-2-bugaevc@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hurd code relies on gnumach default_pager.defs headers when making calls
using the default pager RPC. Those stubs were checked in back in the 90s
and are essentially unused because gnumach does not implement or use
that interface. Instead use the Hurd interface directly.
This is safe since the Hurd stubs are a super set of the gnumach stubs.
Later, we won't need to install the gnumach stubs anymore through glibc.
Message-Id: <ZC5WqPKfCCiE8D29@jupiter.tail36e24.ts.net>
|
|
|
|
|
| |
Also add -Werror=old-style-definition to enforce new code.
Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
|
|
|
|
|
| |
mach_port_t are mach_port_name_t and thus require %u instead of %lu.
Message-Id: <Y42RELMbulK4xaKM@reue>
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|