lkml.org 
[lkml]   [2017]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the kernel is locked down
Date
Ben Hutchings <ben@decadent.org.uk> wrote:

> So it's generally not going to be OK to turn off debugfs. There will
> probably need to be a distinction between believed-safe and unsafe
> directories/files.

Any suggestion on how to mark this distinction? I'd prefer not to modify
every read/write op associated with a debugfs file. Modify
DEFINE_DEBUGFS_ATTRIBUTE() maybe? And provide lockable variants of
debugfs_create_u8() and co.?

David

\
 
 \ /
  Last update: 2017-04-18 17:31    [W:0.116 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site