lkml.org 
[lkml]   [2020]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] genirq/debugfs: add new config option for trigger interrupt from userspace
Hi Joe,

On 2020-02-28 05:42, Joe Jin wrote:
> commit 536e2e34bd00 ("genirq/debugfs: Triggering of interrupts from
> userspace") is allowed developer inject interrupts via irq debugfs,
> which
> is very useful during development phase, but on a production system,
> this
> is very dangerous, add new config option, developers can enable it as
> needed instead of enabling it by default when irq debugfs is enabled.

I don't really mind the patch (although it could be more elegant), but
in
general I object to most debugfs options being set on a production
kernel.
There is way too much information in most debugfs backends to be
comfortable
with it, and you can find things like page table dumps, for example...

M.
--
Jazz is not dead. It just smells funny...

\
 
 \ /
  Last update: 2020-02-28 17:39    [W:0.047 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site