Home | History | Annotate | Download | only in sockstat
History log of /src/usr.bin/sockstat/Makefile
RevisionDateAuthorComments
 1.7  26-Aug-2020  christos undo previous, now sockstat works without privs
 1.6  25-Aug-2020  christos turn on fortify since it is setgid (from scole_mail)
 1.5  25-Aug-2020  christos 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.
 1.4  18-Aug-2019  kamil 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.
 1.3  28-Jan-2011  pooka branches: 1.3.44; 1.3.46;
support rump.sockstat
 1.2  10-Aug-2005  rpaulo branches: 1.2.40;
Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
on PR#30963.

ok atatat@
 1.1  09-Mar-2005  atatat branches: 1.1.2;
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.
 1.1.2.1  06-Oct-2005  tron Pull up following revision(s) (requested by rpaulo in ticket #860):
usr.bin/sockstat/sockstat.c: revision 1.9
usr.bin/sockstat/Makefile: revision 1.2
Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
on PR#30963.
ok atatat@
 1.2.40.1  08-Feb-2011  bouyer Sync with HEAD
 1.3.46.2  13-Sep-2020  martin Pull up following revision(s) (requested by kim in ticket #1079):

usr.bin/sockstat/sockstat.c: revision 1.22
usr.bin/sockstat/Makefile: revision 1.5
usr.bin/sockstat/Makefile: revision 1.6

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.

turn on fortify since it is setgid (from scole_mail)
 1.3.46.1  19-Aug-2019  martin Pull up following revision(s) (requested by kamil in ticket #96):

usr.bin/sockstat/sockstat.c: revision 1.21
usr.bin/sockstat/prog_ops.h: revision 1.2
usr.bin/sockstat/sockstat_rumpops.c: revision 1.2
usr.bin/sockstat/sockstat_hostops.c: revision 1.2
usr.bin/sockstat/Makefile: revision 1.4

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.
 1.3.44.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed