diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-30 13:12:36 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-30 13:36:39 -0400 |
commit | a3460a59747cfddfa7be4758e5ef08bf5d751d59 (patch) | |
tree | 73395c8755c27c82b867a210bacba7e585c0839c /fs/exec.c | |
parent | 2aa3a7f8660355c3dddead17e224545c1a3d5a5f (diff) |
new helper: current_pt_regs()
Normally (and that's the default) it's just task_pt_regs(current).
However, if an architecture can optimize that, it can do so by
making a macro of its own available from asm/ptrace.h. More
importantly, some architectures have task_pt_regs() working only
for traced tasks blocked on signal delivery. current_pt_regs()
needs to work for *all* processes, so before those architectures
start using stuff relying on current_pt_regs() they'll need a
properly working variant.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions