diff options
author | Peter Lieven <pl@kamp.de> | 2016-09-27 11:58:40 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-09-29 14:13:39 +0200 |
commit | 8737d9e0c4017aaa5ab1fcf1356c8ee4f7caf1df (patch) | |
tree | 9598ddbb6fc8d488755f71e9b9be1ea8839a25e9 /nbd | |
parent | 74e1ae7c0b66d85d2b04c153ffdf6294e6a40798 (diff) |
oslib-posix: add helpers for stack alloc and free
the allocated stack will be adjusted to the minimum supported stack size
by the OS and rounded up to be a multiple of the system pagesize.
Additionally an architecture dependent guard page is added to the stack
to catch stack overflows.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions