Re: [kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-10-04 Thread Tobin C. Harding
On Wed, Oct 04, 2017 at 11:02:55AM +0200, Greg KH wrote: > On Wed, Oct 04, 2017 at 09:58:10AM +0100, Will Deacon wrote: > > On Wed, Oct 04, 2017 at 10:56:57AM +0200, Greg KH wrote: > > > On Mon, Oct 02, 2017 at 11:42:05AM +0100, Will Deacon wrote: > > > > On Sun, Oct 01, 2017 at 11:06:46AM +1100, T

Re: [kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-10-04 Thread Greg KH
On Wed, Oct 04, 2017 at 09:58:10AM +0100, Will Deacon wrote: > On Wed, Oct 04, 2017 at 10:56:57AM +0200, Greg KH wrote: > > On Mon, Oct 02, 2017 at 11:42:05AM +0100, Will Deacon wrote: > > > On Sun, Oct 01, 2017 at 11:06:46AM +1100, Tobin C. Harding wrote: > > > > Use the %pP functionality to expli

Re: [kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-10-04 Thread Will Deacon
On Wed, Oct 04, 2017 at 10:56:57AM +0200, Greg KH wrote: > On Mon, Oct 02, 2017 at 11:42:05AM +0100, Will Deacon wrote: > > On Sun, Oct 01, 2017 at 11:06:46AM +1100, Tobin C. Harding wrote: > > > Use the %pP functionality to explicitly allow kernel > > > pointers to be logged for stack traces. > >

Re: [kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-10-04 Thread Greg KH
On Mon, Oct 02, 2017 at 11:42:05AM +0100, Will Deacon wrote: > On Sun, Oct 01, 2017 at 11:06:46AM +1100, Tobin C. Harding wrote: > > Use the %pP functionality to explicitly allow kernel > > pointers to be logged for stack traces. > > > > Signed-off-by: Tobin C. Harding > > --- > > arch/arm64/ker

Re: [kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-10-02 Thread Tobin C. Harding
On Mon, Oct 02, 2017 at 11:42:05AM +0100, Will Deacon wrote: > On Sun, Oct 01, 2017 at 11:06:46AM +1100, Tobin C. Harding wrote: > > Use the %pP functionality to explicitly allow kernel > > pointers to be logged for stack traces. > > > > Signed-off-by: Tobin C. Harding > > --- > > arch/arm64/ker

Re: [kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-10-02 Thread Will Deacon
On Sun, Oct 01, 2017 at 11:06:46AM +1100, Tobin C. Harding wrote: > Use the %pP functionality to explicitly allow kernel > pointers to be logged for stack traces. > > Signed-off-by: Tobin C. Harding > --- > arch/arm64/kernel/traps.c | 4 ++-- > kernel/printk/printk.c| 2 +- > 2 files changed

[kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-09-30 Thread Tobin C. Harding
Use the %pP functionality to explicitly allow kernel pointers to be logged for stack traces. Signed-off-by: Tobin C. Harding --- arch/arm64/kernel/traps.c | 4 ++-- kernel/printk/printk.c| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/kernel/traps.c b/arch/a