Re: [PATCH] ARM: Don't oops when userspace executes kgdb break instructions.

2014-07-19 Thread Omar Sandoval
On Fri, Jul 18, 2014 at 03:51:31PM -0700, Omar Sandoval wrote: > Don't break into kgdb when userspace executes the kernel break instructions > (KGDB_BREAKINST and KGDB_COMPILED_BREAK). The kernel will oops in > kgdb_handle_exception. > > Signed-off-by: Omar Sandoval > --- > The following program

Re: [PATCH] ARM: Don't oops when userspace executes kgdb break instructions.

2014-07-19 Thread Omar Sandoval
On Fri, Jul 18, 2014 at 03:51:31PM -0700, Omar Sandoval wrote: Don't break into kgdb when userspace executes the kernel break instructions (KGDB_BREAKINST and KGDB_COMPILED_BREAK). The kernel will oops in kgdb_handle_exception. Signed-off-by: Omar Sandoval osan...@osandov.com --- The

[PATCH] ARM: Don't oops when userspace executes kgdb break instructions.

2014-07-18 Thread Omar Sandoval
Don't break into kgdb when userspace executes the kernel break instructions (KGDB_BREAKINST and KGDB_COMPILED_BREAK). The kernel will oops in kgdb_handle_exception. Signed-off-by: Omar Sandoval --- The following program will immediately cause a kernel oops: .globl _start _start: udf

[PATCH] ARM: Don't oops when userspace executes kgdb break instructions.

2014-07-18 Thread Omar Sandoval
Don't break into kgdb when userspace executes the kernel break instructions (KGDB_BREAKINST and KGDB_COMPILED_BREAK). The kernel will oops in kgdb_handle_exception. Signed-off-by: Omar Sandoval osan...@osandov.com --- The following program will immediately cause a kernel oops: .globl _start