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: <CACmEs-6+GW=pmeWnyE4CZ8hk5PBA_9KOXj+MrkhZ2EcePdC0rg@mail.gmail.com>
Date: Sun, 23 Jun 2024 17:38:33 +0900
From: Dongmin Lee <ldmldm05@...il.com>
To: Faiyaz Mohammed <quic_faiyazm@...cinc.com>
Cc: benjamin.bara@...data.com, dmitry.osipenko@...labora.com, lee@...nel.org, 
	daniel.lezcano@...aro.org, j.granados@...sung.com, 
	linux-kernel@...r.kernel.org, dongmin.lee@...ux.dev
Subject: Re: [PATCH] kernel/reboot: enhance dmesg logging for system restart

On Wed, Jun 19, 2024 at 8:09 PM Faiyaz Mohammed
<quic_faiyazm@...cinc.com> wrote:
> Agreed in kernel view user's space reboot is intended but if system is
> silently rebooting due to any user process(vendor specific user process
> or even a OS specific user deamon) meeting any error condition then a
> developer debugging the system need to know which user process is
> issuing reboot system call to debug further, so in humble opinion it is
> helpful for system debug perspective.

Your situation is where system call tracing is required. Tracing
itself (via printing out kernel backtrace and/or comm and name) is
actually not what system calls should support regardless of debugging
level and/or kconfig option.

As I mentioned in earlier mail, you might use gdb debugger for the
purpose, or you might utilize SystemTap or eBPF to trace system calls
(including reboot call), actually these are for you to do system call
tracing rather than unnecessarily modifying system call's behavior.

You might want to refer to: https://lwn.net/Articles/852112/

Sincerely,
Dongmin Lee
https://ldmsys.net/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ