On Mon, Mar 14, 2022 at 8:17 AM Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote: > > > +static unsigned int save_shadow_stack(unsigned long *entries, > > + unsigned int nr_entries) > > +{ > > + unsigned long *scs_sp = task_scs_sp(current); > > + unsigned long *scs_base = task_scs(current); > > Just to double-check: interrupt frames are also appended to the the > current task buffer, right? Looked into this and found a few issues, will fix in v2. Interrupt frames will be collected then.