summaryrefslogtreecommitdiff
path: root/usr.bin/sockstat/Makefile
AgeCommit message (Collapse)Author
2020-08-26undo previous, now sockstat works without privschristos
2020-08-25turn on fortify since it is setgid (from scole_mail)christos
2020-08-25RR/54971: scole_mail: sockstat command output incorrect for normalchristos
user As the PR hints, it is not enough to have kern.expose_address=1 to see kernel addresses, we also need to have the PK_KMEM bit set which we achieve by installing sockstat setgid kmem and opening and closing /dev/mem. (/usr/src/sys/kern/kern_proc.c:311). It is unfortunate that we need to give the program more privilege, to prove to the kernel that we have the privilege to see the data.
2019-08-18sockstat: Add indirection of symbols to remove clash with sanitizerskamil
Add indirection and symbol renaming under MKSANITIZER for the linked in version of sysctlgetmibinfo and sysctlnametomib.
2011-01-28support rump.sockstatpooka
2005-08-10Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmirpaulo
on PR#30963. ok atatat@
2005-03-09Add a sockstat(1) command that can list open sockets and the processesatatat
that own them. The implementation concept and man page came largely from FreeBSD, but the program is fresh.