Re: [PATCH 2/2] debugfs: prevent access to removed files' private data

2016-02-07 Thread Greg Kroah-Hartman
On Tue, Dec 01, 2015 at 12:26:41AM +0100, Nicolai Stange wrote: > Upon return of debugfs_remove()/debugfs_remove_recursive(), it might > still be attempted to access associated private file data through > previously opened struct file objects. If that data has been freed by > the caller of debugfs_

Re: [PATCH 1/2] debugfs: prevent access to possibly dead file_operations at file open

2016-02-07 Thread Greg Kroah-Hartman
On Tue, Dec 01, 2015 at 12:21:31AM +0100, Nicolai Stange wrote: > Nothing prevents a dentry found by path lookup before a return of > __debugfs_remove() to actually get opened after that return. Now, after > the return of __debugfs_remove(), there are no guarantees whatsoever > regarding the memory

Re: [PATCH] tty: serial: meson: Add earlycon support

2016-02-07 Thread Peter Hurley
Hi Nicolas, On 02/07/2016 05:38 PM, Nicolas Saenz Julienne wrote: > Signed-off-by: Nicolas Saenz Julienne > --- > Documentation/kernel-parameters.txt | 6 ++ > drivers/tty/serial/meson_uart.c | 22 ++ > 2 files changed, 28 insertions(+) > > diff --git a/Documentatio

Re: [PATCH] tty: serial: meson: Implement earlycon support

2016-02-07 Thread Peter Hurley
Hi Andreas, On 02/07/2016 12:57 PM, Andreas Färber wrote: > Reuse the existing console write implementation for implementing > DT-based and command-line-based earlycon support. > > Signed-off-by: Andreas Färber > --- > Documentation/kernel-parameters.txt | 6 ++ > drivers/tty/serial/meson_

[PATCH] tty: serial: meson: Add earlycon support

2016-02-07 Thread Nicolas Saenz Julienne
Signed-off-by: Nicolas Saenz Julienne --- Documentation/kernel-parameters.txt | 6 ++ drivers/tty/serial/meson_uart.c | 22 ++ 2 files changed, 28 insertions(+) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 551ecf0..166

[PATCH] tty: serial: meson: Implement earlycon support

2016-02-07 Thread Andreas Färber
Reuse the existing console write implementation for implementing DT-based and command-line-based earlycon support. Signed-off-by: Andreas Färber --- Documentation/kernel-parameters.txt | 6 ++ drivers/tty/serial/meson_uart.c | 13 + 2 files changed, 19 insertions(+) diff --