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: <1225008096.3478.3.camel@johannes.berg>
Date:	Sun, 26 Oct 2008 09:01:36 +0100
From:	Johannes Berg <johannes@...solutions.net>
To:	Sven Anders <anders@...uras.de>
Cc:	netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] add %pM printf format specifier

On Sat, 2008-10-25 at 19:44 +0200, Sven Anders wrote:
> Johannes Berg schrieb:
> > This adds a new printf format specifier for the kernel, %pM,
> > to be used to print out MAC addresses. This has advantages
> > over the current print_mac scheme:
> >  * no need for DECLARE_MAC_BUF
> >  * can be used safely in statements that might be compiled
> >    out without the print_mac call staying.
> 
> Nice, have you though of something similar for IPv4 and IPv6
> adresses?

Not really, are they printed often? I haven't had to touch much code
that printed IP addresses. Nor have I seen them in logs a lot.

johannes

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ