Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1625405

Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the kernel is locked down

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the kernel is locked down
Date 2017-04-18 17:40 +0200
Message-ID <txDou-7Pj-7@gated-at.bofh.it> (permalink)
References (4 earlier) <ttBEC-7cJ-17@gated-at.bofh.it> <tuj2V-24s-1@gated-at.bofh.it> <tuHoC-18n-37@gated-at.bofh.it> <txuuS-2Go-11@gated-at.bofh.it> <txCsp-7gY-9@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the  kernel is locked down Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-18 08:10 +0200
  Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the  kernel is locked down Ben Hutchings <ben@decadent.org.uk> - 2017-04-18 16:40 +0200
    Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the kernel is locked down David Howells <dhowells@redhat.com> - 2017-04-18 17:00 +0200
      Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the  kernel is locked down Ben Hutchings <ben@decadent.org.uk> - 2017-04-18 17:30 +0200
        Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the kernel is locked down David Howells <dhowells@redhat.com> - 2017-04-18 17:40 +0200
    Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the kernel is locked down David Howells <dhowells@redhat.com> - 2017-04-18 17:40 +0200
      Re: [PATCH 15/24] asus-wmi: Restrict debugfs interface when the  kernel is locked down Ben Hutchings <ben@decadent.org.uk> - 2017-04-18 19:40 +0200

csiph-web