History log of /netbsd-src/usr.bin/sockstat/Makefile (Results 1 – 7 of 7)
Revision Date Author Comments
# a09dcfa2 26-Aug-2020 christos <christos@NetBSD.org>

undo previous, now sockstat works without privs


# 63457cef 25-Aug-2020 christos <christos@NetBSD.org>

turn on fortify since it is setgid (from scole_mail)


# 0f41c159 25-Aug-2020 christos <christos@NetBSD.org>

RR/54971: scole_mail: sockstat command output incorrect for normal
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 s

RR/54971: scole_mail: sockstat command output incorrect for normal
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.

show more ...


# 774dcce2 18-Aug-2019 kamil <kamil@NetBSD.org>

sockstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlgetmibinfo and sysctlnametomib.


# 6475f125 28-Jan-2011 pooka <pooka@NetBSD.org>

support rump.sockstat


# cccbf666 10-Aug-2005 rpaulo <rpaulo@NetBSD.org>

Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
on PR#30963.

ok atatat@


# 724bd019 09-Mar-2005 atatat <atatat@NetBSD.org>

Add a sockstat(1) command that can list open sockets and the processes
that own them. The implementation concept and man page came largely
from FreeBSD, but the program is fresh.