diff options
author | 2020-07-26 03:00:42 +0000 | |
---|---|---|
committer | 2020-07-26 03:00:42 +0000 | |
commit | 802163a16b27f525fc2afe5dae956e57fc08dbe6 (patch) | |
tree | 078d86d1daea7a7684ef19bb2c026fa94d5b3fae /regress/sys/kern/stackpivot/syscall/stackpivot.c | |
parent | remove unsused enum key_type, copied initialy from relays. (diff) | |
download | wireguard-openbsd-802163a16b27f525fc2afe5dae956e57fc08dbe6.tar.xz wireguard-openbsd-802163a16b27f525fc2afe5dae956e57fc08dbe6.zip |
print the address of the "non-MAP_STACK stack", so it can be compared
against failure reported in dmesg (hmm, is it time to delete those fault
messages?)
Diffstat (limited to 'regress/sys/kern/stackpivot/syscall/stackpivot.c')
-rw-r--r-- | regress/sys/kern/stackpivot/syscall/stackpivot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/sys/kern/stackpivot/syscall/stackpivot.c b/regress/sys/kern/stackpivot/syscall/stackpivot.c index c6470dba86d..de3d7c38509 100644 --- a/regress/sys/kern/stackpivot/syscall/stackpivot.c +++ b/regress/sys/kern/stackpivot/syscall/stackpivot.c @@ -27,7 +27,7 @@ void doexit() { int main() { /* set up an alt stack on the heap that just calls doexit */ size_t *newstack = calloc(10, sizeof(size_t)); - printf("%p\n", newstack); + printf("non-MAP_STACK stack at %p\n", newstack); newstack[0] = (size_t)doexit; pivot(newstack); return 0; |