On Fri 2025-06-06 23:53:45, Marcos Paulo de Souza wrote:
> All consoles found on for_each_console are registered, meaning that all of
> them are CON_ENABLED. The code tries to find an active console, so check if
> the
> console is not suspended instead.
This patch "fixes" a behavior change caused
On Fri 2025-06-06 23:53:43, Marcos Paulo de Souza wrote:
> Since commit 9e70a5e109a4 ("printk: Add per-console suspended state") the
> CON_SUSPENDED flag was introced, and this flag was being checked on
> console_is_usable function, which returns false if the console is suspended.
>
> No functiona
On Tue 2025-06-10 16:18:22, Doug Anderson wrote:
> Hi,
>
> On Tue, Jun 10, 2025 at 1:03 PM Marcos Paulo de Souza
> wrote:
> >
> > On Mon, 2025-06-09 at 13:13 -0700, Doug Anderson wrote:
> > > Hi,
> > >
> > > On Fri, Jun 6, 2025 at 7:54 PM Marcos Paulo de Souza
> > > wrote:
> > > >
> > > > All co
On 09.06.2025 21:15, Kees Cook wrote:
>
> I think we need wholesale fix the kernel's usage of
> strncpy_from_user()... first, how is it being used?
So I looked at some of the codes under driver, but it's not very clear
to me how they are currently used.
For example in drivers/tty/vt/vt.c there is
Hi,
On Thu, Jun 12, 2025 at 6:57 AM Petr Mladek wrote:
>
> > > > > @@ -577,7 +577,8 @@ static int __init kgdboc_earlycon_init(char
> > > > > *opt)
> > > > > console_list_lock();
> > > > > for_each_console(con) {
> > > > > if (con->write && con->read &&
> > > > > -