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: <201709052135.BJH73984.QLMOJFFOtFOSHV@I-love.SAKURA.ne.jp>
Date:   Tue, 5 Sep 2017 21:35:38 +0900
From:   Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To:     pmladek@...e.com, sergey.senozhatsky.work@...il.com
Cc:     joe@...ches.com, rostedt@...dmis.org,
        torvalds@...ux-foundation.org, pavel@....cz,
        sergey.senozhatsky@...il.com, jack@...e.cz,
        akpm@...ux-foundation.org, jslaby@...e.com, andi@...as.de,
        linux-kernel@...r.kernel.org
Subject: Re: printk: what is going on with additional newlines?

Petr Mladek wrote:
> Some of these problems would be solved by a custom buffer.
> But you are right. There are less guarantees that it would
> get flushed or that it can be found in case of troubles.
> Now, I am not sure that it is a good idea to use it even
> for a single continuous line.
> 
> I wonder if all this is worth the effort, complexity, and risk.
> We are talking about cosmetic problems after all.
> 
> Well, what do you think about the extra printed information?
> For example:
> 
>     <timestamp> <PID> <context> message
> 
> It looks straightforward to me. These information
> might be helpful on its own. So, it might be a
> win-win solution.

Yes, if buffering multiple lines will not be implemented, I do want
printk context identifier field for each line. I think <PID> <context>
part will be something like TASK#pid (if outside interrupt) or
CPU#cpunum/#irqlevel (if inside interrupt).

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ