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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 13 Apr 2019 09:22:05 +1000
From:   "Alastair D'Silva" <alastair@...ilva.org>
To:     "'Petr Mladek'" <pmladek@...e.com>
Cc:     "'Jani Nikula'" <jani.nikula@...ux.intel.com>,
        "'Joonas Lahtinen'" <joonas.lahtinen@...ux.intel.com>,
        "'Rodrigo Vivi'" <rodrigo.vivi@...el.com>,
        "'David Airlie'" <airlied@...ux.ie>,
        "'Daniel Vetter'" <daniel@...ll.ch>,
        "'Karsten Keil'" <isdn@...ux-pingi.de>,
        "'Jassi Brar'" <jassisinghbrar@...il.com>,
        "'Tom Lendacky'" <thomas.lendacky@....com>,
        "'David S. Miller'" <davem@...emloft.net>,
        "'Jose Abreu'" <Jose.Abreu@...opsys.com>,
        "'Kalle Valo'" <kvalo@...eaurora.org>,
        "'Stanislaw Gruszka'" <sgruszka@...hat.com>,
        "'Benson Leung'" <bleung@...omium.org>,
        "'Enric Balletbo i Serra'" <enric.balletbo@...labora.com>,
        "'James E.J. Bottomley'" <jejb@...ux.ibm.com>,
        "'Martin K. Petersen'" <martin.petersen@...cle.com>,
        "'Greg Kroah-Hartman'" <gregkh@...uxfoundation.org>,
        "'Alexander Viro'" <viro@...iv.linux.org.uk>,
        "'Sergey Senozhatsky'" <sergey.senozhatsky@...il.com>,
        "'Steven Rostedt'" <rostedt@...dmis.org>,
        "'Andrew Morton'" <akpm@...ux-foundation.org>,
        <intel-gfx@...ts.freedesktop.org>,
        <dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>,
        <netdev@...r.kernel.org>, <ath10k@...ts.infradead.org>,
        <linux-wireless@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
        <linux-fbdev@...r.kernel.org>, <devel@...verdev.osuosl.org>,
        <linux-fsdevel@...r.kernel.org>
Subject: RE: [PATCH 1/4] lib/hexdump.c: Allow 64 bytes per line

> -----Original Message-----
> From: Petr Mladek <pmladek@...e.com>
> Sent: Friday, 12 April 2019 11:48 PM
> To: Alastair D'Silva <alastair@....ibm.com>
> Cc: alastair@...ilva.org; Jani Nikula <jani.nikula@...ux.intel.com>;
Joonas
> Lahtinen <joonas.lahtinen@...ux.intel.com>; Rodrigo Vivi
> <rodrigo.vivi@...el.com>; David Airlie <airlied@...ux.ie>; Daniel Vetter
> <daniel@...ll.ch>; Karsten Keil <isdn@...ux-pingi.de>; Jassi Brar
> <jassisinghbrar@...il.com>; Tom Lendacky <thomas.lendacky@....com>;
> David S. Miller <davem@...emloft.net>; Jose Abreu
> <Jose.Abreu@...opsys.com>; Kalle Valo <kvalo@...eaurora.org>;
> Stanislaw Gruszka <sgruszka@...hat.com>; Benson Leung
> <bleung@...omium.org>; Enric Balletbo i Serra
> <enric.balletbo@...labora.com>; James E.J. Bottomley
> <jejb@...ux.ibm.com>; Martin K. Petersen <martin.petersen@...cle.com>;
> Greg Kroah-Hartman <gregkh@...uxfoundation.org>; Alexander Viro
> <viro@...iv.linux.org.uk>; Sergey Senozhatsky
> <sergey.senozhatsky@...il.com>; Steven Rostedt <rostedt@...dmis.org>;
> Andrew Morton <akpm@...ux-foundation.org>; intel-
> gfx@...ts.freedesktop.org; dri-devel@...ts.freedesktop.org; linux-
> kernel@...r.kernel.org; netdev@...r.kernel.org;
> ath10k@...ts.infradead.org; linux-wireless@...r.kernel.org; linux-
> scsi@...r.kernel.org; linux-fbdev@...r.kernel.org;
> devel@...verdev.osuosl.org; linux-fsdevel@...r.kernel.org
> Subject: Re: [PATCH 1/4] lib/hexdump.c: Allow 64 bytes per line
> 
> On Wed 2019-04-10 13:17:17, Alastair D'Silva wrote:
> > From: Alastair D'Silva <alastair@...ilva.org>
> >
> > With modern high resolution screens, we can display more data, which
> > makes life a bit easier when debugging.
> 
> I have quite some doubts about this feature.
> 
> We are talking about more than 256 characters per-line. I wonder if such a
> long line is really easier to read for a human.

It's basically 2 separate panes of information side by side, the hexdump and
the ASCII version.

I'm using this myself when dealing with the pmem labels, and it works quite
nicely.

> 
> I am not expert but there is a reason why the standard is 80 characters
per-
> line. I guess that anything above 100 characters is questionable.
> https://en.wikipedia.org/wiki/Line_length
> somehow confirms that.
> 
> Second, if we take 8 pixels per-character. Then we need
> 2048 to show the 256 characters. It is more than HD.
> IMHO, there is still huge number of people that even do not have HD
display,
> especially on a notebook.

The intent is to make debugging easier when dealing with large chunks of
binary data. I don't expect end users to see this output.

-- 
Alastair D'Silva           mob: 0423 762 819
skype: alastair_dsilva     msn: alastair@...ilva.org
blog: http://alastair.d-silva.org    Twitter: @EvilDeece



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ