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: <1255462808.18975.70.camel@Joe-Laptop.home>
Date:	Tue, 13 Oct 2009 12:40:08 -0700
From:	Joe Perches <joe@...ches.com>
To:	Bjorn Helgaas <bjorn.helgaas@...com>
Cc:	Jesse Barnes <jbarnes@...tuousgeek.org>, linux-pci@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
	Yinghai Lu <yhlu.kernel@...il.com>, Len Brown <lenb@...nel.org>
Subject: Re: [PATCH v2 3/9] vsprintf: add %pR decoding and %pr for raw
 struct resource

On Tue, 2009-10-13 at 13:22 -0600, Bjorn Helgaas wrote:
> This adds support for printing struct resource type and flag information.
> For example, "%pR" looks like "[mem 0xf5df0000-0xf5df3fff 64bit pref]",
> and "%pr" looks like "[mem 0xff5e2000-0xff5e2007 flags 0x201]".

%p[A-Za-z0-9] is a relatively limited resource.

Isn't it better to avoid using multiple characters
for a single type?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ