Date: Mon, 02 Oct 2017 23:30:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221820] [exp-run] Identify 'struct socket' and 'struct sockbuf' consumers in ports Message-ID: <bug-221820-13-YcKqeMqb79@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221820-13@https.bugs.freebsd.org/bugzilla/> References: <bug-221820-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221820 --- Comment #12 from commit-hook@freebsd.org --- A commit references this bug: Author: glebius Date: Mon Oct 2 23:29:57 UTC 2017 New revision: 324227 URL: https://svnweb.freebsd.org/changeset/base/324227 Log: 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) Changes: head/lib/libprocstat/libprocstat.c head/sys/kern/uipc_usrreq.c head/sys/netinet6/send.c head/sys/sys/param.h head/sys/sys/sockbuf.h head/sys/sys/socketvar.h head/sys/sys/sockstate.h head/sys/sys/unpcb.h head/usr.bin/bluetooth/btsockstat/btsockstat.c head/usr.bin/netstat/inet.c head/usr.bin/netstat/netgraph.c head/usr.bin/netstat/unix.c head/usr.bin/sockstat/sockstat.c head/usr.bin/systat/netstat.c --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221820-13-YcKqeMqb79>