From f5ba2dee8d589639de0e0df315322e5b312c45c5 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 7 Nov 2013 17:15:53 +0100 Subject: utils: implement portinfo --search 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. --- utils/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/Makefile') diff --git a/utils/Makefile b/utils/Makefile index 46abf2a6..5ebb2310 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -54,6 +54,7 @@ login addauth setauth: nonsugid.o addauth rmauth setauth unsu: frobauth.o rmauth setauth unsu: frobauth-mod.o ps w: psout.o ../libps/libps.a ../libihash/libihash.a +portinfo: ../libps/libps.a storeinfo storecat storeread: ../libstore/libstore.a ftpcp ftpdir: ../libftpconn/libftpconn.a -- cgit v1.2.3