aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/portinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* portinfo: Do not compare port to anything when it is MACH_PORT_DEADSamuel Thibault2022-01-041-1/+4
| | | | | Otherwise it would successfully compare to any port that happens to be MACH_PORT_DEAD, e.g. the bootstrap port.
* portinfo: Use benign RPCs to discover what ports are all aboutSamuel Thibault2022-01-041-26/+419
| | | | | | | | 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.
* fix compiler warnings in hurd/libshouldbeinlibcFlavio Cruz2015-12-291-4/+4
|
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-12/+12
| | | | * portinfo.c (print_port_info): Use %z formats for port names.
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+3
| | | | | | | * 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.
* 1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-3/+3
| | | | | | | | | | | | | * 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.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-7/+4
| | | | | | | | | | * 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.
* Add braces to silence gcc warnings.Roland McGrath1998-10-201-12/+14
|
* Fix function name typo.Miles Bader1996-03-291-2/+2
|
* Initial revisionMiles Bader1996-03-291-0/+156