[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160705220221.GI12027@pd.tnic>
Date: Wed, 6 Jul 2016 00:02:21 +0200
From: Borislav Petkov <bp@...en8.de>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Franck Bui <fbui@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Ingo Molnar <mingo@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Subject: Re: [PATCH -v3 2/2] printk: Add kernel parameter to control writes
to /dev/kmsg
On Tue, Jul 05, 2016 at 05:47:49PM -0400, Steven Rostedt wrote:
> I wonder if we should return some sort of error message here? ENODEV?
What for?
We're silently ignoring it. If we start returning an error here, we
might break doofus if it checks the write retval.
And it's not like we care - we're ignoring all writes whatsoever.
> If you silently fail here, then we lose all logging because systemd
> thinks this is working when it is not. That's not what I want.
Hmm, ok, you're making sense to me.
Do you want an error message too or only an -ENODEV returned or
somesuch?
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
Powered by blists - more mailing lists