On Tue, Mar 08, 2022 at 12:58:27PM -0700, Theo de Raadt wrote: > Claudio Jeker <cje...@diehard.n-r-g.com> wrote: > > > Honestly I think this is overkill. There is no stat struct where we do > > this dance. It is accepted that netstat needs to keep in sync for these > > structs to work. Why is it necessary to disconnect the kernel and userland > > for this? > > Actually there is a major one: it is how ps works. > > I think the problem is when this struct is changed, ifconfig becomes unusable?
In this case it is not ifconfig, but netstat -W iwm0. Which is a debugging tool, like netstat -s.