# std: Different thread stack allocation for NetBSD · gitcafe/zig

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

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

Visibility: public

Requested revision: 09a5f172f876c20e52d6cc0c634d15ddeee8f1ff

Requested commit: 09a5f172f876c20e52d6cc0c634d15ddeee8f1ff

Commit: 09a5f172f876c20e52d6cc0c634d15ddeee8f1ff

Tree: 315019accf8a78b5989dd994624be9a5c16a0081

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Different thread stack allocation for NetBSD

* NetBSD is stricter than other OSs and doesn't allow mprotect to mark a
  non-accessible region as RW
* Fix mprotect call over the whole stack, oops

```

## Parents

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

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