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: <e925a6d7-aa71-43cf-ab84-bed65b78cbe3@linaro.org>
Date: Tue, 18 Feb 2025 11:11:56 +0200
From: Eugen Hristev <eugen.hristev@...aro.org>
To: Sergey Senozhatsky <senozhatsky@...omium.org>,
 Christoph Hellwig <hch@...radead.org>
Cc: linux-arm-msm@...r.kernel.org, linux-hardening@...r.kernel.org,
 kees@...nel.org, linux-kernel@...r.kernel.org, johannes@...solutions.net,
 gregkh@...uxfoundation.org, rafael@...nel.org, dakr@...nel.org,
 andersson@...nel.org, konradybcio@...nel.org, tony.luck@...el.com,
 gpiccoli@...lia.com, pmladek@...e.com, rostedt@...dmis.org,
 john.ogness@...utronix.de, quic_mojha@...cinc.com,
 linux-arm-kernel@...ts.infradead.org, kernel@...cinc.com
Subject: Re: [RFC][PATCH 07/10] printk: export symbols for buffer address and
 length functions



On 2/18/25 10:58, Sergey Senozhatsky wrote:
> On (25/02/18 00:26), Christoph Hellwig wrote:
>> On Mon, Feb 17, 2025 at 12:17:03PM +0200, Eugen Hristev wrote:
>>> log_buf_addr_get() and log_buf_len_get() can be reused in another module,
>>> export the symbols.
>>
>> Err, no way.
> 
> Yeah I think we've been there before [1]
> 
> [1] https://lore.kernel.org/all/20230905081902.321778-1-hch@lst.de/

Okay... in the line of the purpose of this patch series, I would like to
be able to have the dmesg ready to be retrieved out of the kernel in
case the kernel becomes unusable (due to various reasons as described in
the cover letter). However to know exactly 'where' is the buffer stored
I would need some way to point to it.
Do you have any other suggestion on how to do this ? Using the
kmsg_dump() API works only if the kernel/CPU can run code.

Thanks for looking into the patches,
Eugen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ