[pve-devel] [PATCH] lxc : vmstatus : add disk read|write stats

Michael Rasmussen mir at datanom.net
Sun Jun 21 14:03:18 CEST 2015


On Sun, 21 Jun 2015 13:06:27 +0200
Alexandre Derumier <aderumier at odiso.com> wrote:

> +	    my ($key, $value) = $byte =~ /(Read|Write) (\d+)/;
I think this would be more secure:
my ($key, $value) = $byte =~ /(Read|Write)\s+(\d+)/;

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
True, it returns "" for false, but "" is an even more interesting
number than 0.
		-- Larry Wall in <199707300650.XAA05515 at wall.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20150621/1788b0ef/attachment.sig>


More information about the pve-devel mailing list