Re: [PATCH v3 2/3] kgdb: Add NOKPROBE labels on the trap handler functions

2020-09-28 Thread Doug Anderson
Hi, On Sun, Sep 27, 2020 at 2:16 PM Daniel Thompson wrote: > > Currently kgdb honours the kprobe blocklist but doesn't place its own > trap handling code on the list. Add labels to discourage attempting to > use kgdb to debug itself. > > Not every functions that executes from the trap handler

[PATCH v3 2/3] kgdb: Add NOKPROBE labels on the trap handler functions

2020-09-27 Thread Daniel Thompson
Currently kgdb honours the kprobe blocklist but doesn't place its own trap handling code on the list. Add labels to discourage attempting to use kgdb to debug itself. Not every functions that executes from the trap handler needs to be marked up: relatively early in the trap handler execution

Re: [PATCH v3 2/3] kgdb: Add NOKPROBE labels on the trap handler functions

2020-09-27 Thread Daniel Thompson
On Mon, Sep 14, 2020 at 05:14:22PM -0700, Doug Anderson wrote: > Hi, > > On Mon, Sep 14, 2020 at 6:02 AM Daniel Thompson > wrote: > > > > Currently kgdb honours the kprobe blocklist but doesn't place its own > > trap handling code on the list. Add labels to discourage attempting to > > use kgdb

Re: [PATCH v3 2/3] kgdb: Add NOKPROBE labels on the trap handler functions

2020-09-14 Thread Doug Anderson
Hi, On Mon, Sep 14, 2020 at 6:02 AM Daniel Thompson wrote: > > Currently kgdb honours the kprobe blocklist but doesn't place its own > trap handling code on the list. Add labels to discourage attempting to > use kgdb to debug itself. > > Not every functions that executes from the trap handler

[PATCH v3 2/3] kgdb: Add NOKPROBE labels on the trap handler functions

2020-09-14 Thread Daniel Thompson
Currently kgdb honours the kprobe blocklist but doesn't place its own trap handling code on the list. Add labels to discourage attempting to use kgdb to debug itself. Not every functions that executes from the trap handler needs to be marked up: relatively early in the trap handler execution