# linux: rework getcontext to closer match the specification \(saved IP/SP match the state after it would return\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/caa334712fc8f540349e54fa3008aa3fdef64e13)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: caa334712fc8f540349e54fa3008aa3fdef64e13

Requested commit: caa334712fc8f540349e54fa3008aa3fdef64e13

Commit: caa334712fc8f540349e54fa3008aa3fdef64e13

Tree: 5cc39b79cc97a305cfbc981d9e426cf1896947d4

Author: kcbanner

Committer: kcbanner

## Message

```
linux: rework getcontext to closer match the specification (saved IP/SP match the state after it would return)
debug: fixup ucontext_t check

```

## Parents

- [89ef004646896a145ec0607678882a395fabda3d](https://git.cafe/gitcafe/zig/commit/89ef004646896a145ec0607678882a395fabda3d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/caa334712fc8f540349e54fa3008aa3fdef64e13?format=markdown)
