DynamoRIO / DynamoRIO/dynamorio

SYS_rt_sigreturn calls sigaltstack on ucontext_t.uc_stack

Open
#506 1 comment 0 reactions 0 assignees View on GitHub
Migrated OpSys-Linux Priority-Medium
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on July 05, 2011 17:02:38_

it seems that SYS_rt_sigreturn calls sigaltstack on ucontext_t.uc_stack.

xref http://lkml.org/lkml/2004/5/22/146 TODO: investigate:

is this true on all flavors of linux? which versions?

TODO: consequences:

in handle_sigreturn(): need to call handle_sigaltstack() on uc_stack

when initializing: to support taking over while on alt stack, should detect that and modify uc_stack instead of calling SYS_sigaltstack

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=506_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.