| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement the --search switch of portinfo. The feature was suggested
in the source code and partly implemented. portinfo --search locates
the target ports (or all ports) in any other process and prints the
port mapping and information about the port in the remote process.
* utils/Makefile: Link portinfo against libps.
* utils/portinfo.c (options): Enable --search option.
(search_for_port): New function.
(search_for_ports): Likewise.
(main): Call search_for_port{,s} as appropiate.
|
|
|
|
|
|
| |
* portinfo.c: Comment out unimplemented argument
`--show-targets'. Reported by
Marcus.Brinkmann@ruhr-uni-bochum.de.
|
|
|
|
|
|
| |
* portinfo.c: Correct documentation for (currently implemented)
--target-send and --target-send-once options. Reported by Marcus
Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
|
|
|
|
| |
* portinfo.c (options): Doc fixes from Marcus.
|
|
|
|
|
| |
* portinfo.c (parse_task): Fail with appropriate error message if the
fetched task is MACH_PORT_NULL.
|
|
|
|
|
|
| |
* portinfo.c (main): Grok -E and inhibit error msg for
print_xlated_port_info if set.
(options): #if 0 -q option until we implement it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(options): Minor fixes.
|
| |
|
| |
|
|
|
|
|
|
| |
Change meaning of --translate's argument, in preparation for other changes.
(options, main):
Add, but don't really implement, --search option.
|
|
|
|
|
|
|
| |
(port_info, ports_info, xlated_port_info, xlated_ports_info,
name_xlator_create, name_xlator_free, name_xlator_xlate):
Functions removed (renamed and put in libshouldbeinlibc).
(parse_task): Use strtoul instead of atoi so pid 0 works.
|
| |
|
|
|
|
|
|
|
| |
(struct name_xlator): New structure.
(name_xlator_create, name_xlator_free, name_xlator_xlate): New functions.
(xlated_port_info, xlated_ports_info): New functions.
(main): Use xlated_port_info / xlated_ports_info.
|
|
|