[patch] netstat: got bogus unix line...

Denys Vlasenko vda.linux at googlemail.com
Wed Dec 26 13:55:36 PST 2007


On Wednesday 26 December 2007 20:42, Cristian Ionescu-Idbohrn wrote:
> On Wed, 26 Dec 2007, Denys Vlasenko wrote:
> > On Tuesday 25 December 2007 16:34, Cristian Ionescu-Idbohrn wrote:
> > > Yes.  But it's too big.  Let's see if attached few lines of
> > > /proc/net/unix will suffice.
> >
> > This line is especially ugly:
> >
> > f7ab6280: 00000002 00000000 00000000 0002 01 14954 @^@^@^@.^R^@^@x*
>
> Yes, it is.
>
> > I think you have to retest it with latest kernel and if it happens there
> > too, report the bug to kernel mailing list.
>
> This may arguably be a kernel problem.  As the comment in the bb-netstat
> says, and which I quoted in my previous post, socket names as this one did
> show up in 2.6 /proc files for as long as I remember.

I added that comment, not long ago.

> IMO, this is more like an application bug.

Are you saying it's ok for kernel to dump random binary crap
through /proc/net/unix?
--
vda


More information about the busybox mailing list