1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/usr.bin/systat
Gleb Smirnoff 0e229f343f Hide struct socket and struct unpcb from the userland.
Violators may define _WANT_SOCKET and _WANT_UNPCB respectively and
are not guaranteed for stability of the structures.  The violators
list is the the usual one: libprocstat(3) and netstat(1) internally
and lsof in ports.

In struct xunpcb remove the inclusion of kernel structure and add
a bunch of spare fields.  The xsocket already has socket not included,
but add there spares as well.  Embed xsockbuf into xsocket.

Sort declarations in sys/socketvar.h to separate kernel only from
userland available ones.

PR:		221820 (exp-run)
2017-10-02 23:29:56 +00:00
..
cmds.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cmdtab.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
convtbl.c
convtbl.h
devs.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
devs.h
extern.h Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
fetch.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
icmp6.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
icmp.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ifcmds.c
ifstat.c
iostat.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ip6.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ip.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
keyboard.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
main.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile
Makefile.depend
mode.c
mode.h
netcmds.c Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
netstat.c Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
pigs.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sctp.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
swap.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
systat.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
systat.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tcp.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vmstat.c Fix systat(1) regression. It was broken by r317061. 2017-04-20 22:30:39 +00:00
zarc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00