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: <alpine.WNT.2.20.2208151359540.1956@CLUIJ>
Date:   Mon, 15 Aug 2022 14:01:35 -0600 (Mountain Daylight Time)
From:   Marc Aurèle La France <tsi@...oix.net>
To:     John Ogness <john.ogness@...utronix.de>
cc:     Sergey Senozhatsky <senozhatsky@...omium.org>,
        Petr Mladek <pmladek@...e.com>, linux-kernel@...r.kernel.org,
        Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH] printk: Export log_buf_len to userland

On Mon, 15 Aug 2022, John Ogness wrote:
> On 2022-08-15, Sergey Senozhatsky <senozhatsky@...omium.org> wrote:
>> On (22/08/10 14:25), Marc Aurèle La France wrote:

>>> Make the kernel log's buffer size available to userland so it can be
>>> used with `dmesg -s`.

> This information is already available via:

>    klogctl(SYSLOG_ACTION_SIZE_BUFFER, NULL, 0)

> And dmesg already uses this with "dmesg -S".

Thanks for the much more helpful reply.

Have a great day.

Marc.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ