Re: [PATCH v2 1/3] kgdb: Honour the kprobe blocklist when setting breakpoints

2020-07-17 Thread Doug Anderson
Hi, On Thu, Jul 16, 2020 at 8:20 AM Daniel Thompson wrote: > > Currently kgdb has absolutely no safety rails in place to discourage or > prevent a user from placing a breakpoint in dangerous places such as > the debugger's own trap entry/exit and other places where it is not safe > to take synchr

[PATCH v2 1/3] kgdb: Honour the kprobe blocklist when setting breakpoints

2020-07-16 Thread Daniel Thompson
Currently kgdb has absolutely no safety rails in place to discourage or prevent a user from placing a breakpoint in dangerous places such as the debugger's own trap entry/exit and other places where it is not safe to take synchronous traps. Introduce a new config symbol KGDB_HONOUR_BLOCKLIST and m