[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191216150412.GA19519@roeck-us.net>
Date: Mon, 16 Dec 2019 07:04:12 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Dominik Brodowski <linux@...inikbrodowski.net>,
Alexander Viro <viro@...iv.linux.org.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] init: use do_mount() instead of ksys_mount()
On Sun, Dec 15, 2019 at 07:50:23PM -0800, Linus Torvalds wrote:
> On Sun, Dec 15, 2019 at 5:35 PM Ondřej Jirman <megi@....cz> wrote:
> >
> > Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
>
> Duh. So much for the trivial obvious conversion.
>
> It didn't take "data might be NULL" into account.
>
> A patch like this, perhaps? Untested..
>
> Linus
That one must be a record.
Qemu test results:
total: 387 pass: 93 fail: 294
For my education, what is so bad with calls like ksys_mount() that warrants
the extra code needed to remove it (and, of course, the resulting breakage) ?
Thanks,
Guenter
Powered by blists - more mailing lists