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] [day] [month] [year] [list]
Message-ID: <20190426084148.su4ez6oua7kgpgqx@pathway.suse.cz>
Date:   Fri, 26 Apr 2019 10:41:48 +0200
From:   Petr Mladek <pmladek@...e.com>
To:     Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Cc:     Steven Rostedt <rostedt@...dmis.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        linux-kernel@...r.kernel.org,
        Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: Re: [RFC][PATCH] panic: make panic start/end messages consistent

On Fri 2019-04-26 15:33:56, Sergey Senozhatsky wrote:
> We don't have consistency:
> - we always print panic header
> 	pr_emerg("Kernel panic - not syncing:")
> 
> - but we don't always print panic footer
> 	pr_emerg("---[ end Kernel panic - not syncing:")
> 
> For instance, no panic footer (end panic) message will be
> printed when panic_timeout is set - the kernel will either
> reboot immediately after console_flush_on_panic() (emergency
> restart) or after panic_timeout seconds. Additionally,
> panic_print_sys_info() goes before panic footer line, which
> doesn't look very right, panic_print_sys_info() is just
> additional debugging into.
> 
> Let's make it consistent:
> 
> 	pr_emerg("Kernel panic - not syncing:")
> 	dump_stack();
> 	console_flush_on_panic();
> 	pr_emerg("---[ end Kernel panic - not syncing:")
> 
> 	panic_print_sys_info();
> 	/* the rest */
> 	/* panic_timeout handling */
> 
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>

Makes sense to me:

Reviewed-by: Petr Mladek <pmladek@...e.com>

Best Regards,
Petr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ