lkml.org 
[lkml]   [2016]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 42/51] x86/unwind: create stack frames for saved syscall registers
On Fri, Aug 12, 2016 at 7:29 AM, Josh Poimboeuf <jpoimboe@redhat.com> wrote:
> The entry code doesn't encode pt_regs for syscalls. But they're always
> at the same location, so we can add a manual check for them.

At first I thought these would be useless (they're the *user* state
and aren't directly relevant to the kernel), but then I realized that
they could be extremely valuable: they contain the syscall args. Do
they display in OOPS dumps? It might be nice to add orig_ax to the
regs display too so we get the syscall nr as well.

--Andy

\
 
 \ /
  Last update: 2016-09-17 09:56    [W:0.410 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site