lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B44263D.20604@gmail.com>
Date:	Wed, 06 Jan 2010 06:57:17 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Jesper Dangaard Brouer <hawk@...x.dk>
CC:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [net-next PATCH] net: Make it easier to parse /proc/net/dev contents.

Le 05/01/2010 16:50, Jesper Dangaard Brouer a écrit :
> The contents of /proc/net/dev is annoying to parse, because
> it changes whether there is a space after the "ethX:" or not.
> It depends upon the size of the "Receive bytes" counter,
> if the number is below 7 digits, then there is whitespaces
> else if the number is 8 digits or above there is no space
> between the ":" and the number.
> 
> This patch changes the output to assure there is always a space
> between the ":" and the number.  Given that all existing userspace
> application already need to handle the whitespaces, I see
> no breakage of existing tools.
> 
> Signed-off-by: Jesper Dangaard Brouer <hawk@...x.dk>

Acked-by: Eric Dumazet <eric.dumazet@...il.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ