[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wg6vtnyxW6DR6_pTmMowjd9SuULu4C0DJBXCzJz8XgyXg@mail.gmail.com>
Date: Mon, 22 Jun 2020 10:32:51 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Bruno Meneguele <bmeneg@...hat.com>
Cc: "Jason A. Donenfeld" <Jason@...c4.com>,
Petr Mladek <pmladek@...e.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
David Laight <David.Laight@...lab.com>
Subject: Re: [PATCH] Revert "kernel/printk: add kmsg SEEK_CUR handling"
On Mon, Jun 22, 2020 at 10:10 AM Bruno Meneguele <bmeneg@...hat.com> wrote:
>
> Although both options are pretty fine by me too, I "fear" (not really)
> we can end up stacking special behavior interfaces, forcing userspace to
> keep a "table of special case files". Personally, I prefer to return
> something _valid_ to userspace rather than _fail_ with special meaning.
Well, what's even worse if user space has to handle two different
things just because behavior changed in different kernels..
So at some point "odd behavior" is much better than "odd behavior in
two different ways"..
Linus
Powered by blists - more mailing lists