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] [day] [month] [year] [list]
Date:	Thu, 07 Jan 2010 00:59:29 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	hawk@...x.dk, netdev@...r.kernel.org
Subject: Re: [net-next PATCH] net: Make it easier to parse /proc/net/dev
 contents.

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 06 Jan 2010 06:57:17 +0100

> 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>

Applied.
--
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