mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
o Remove the unwanted smartness in _longjmp() where it compares the current ar.bspstore with the saved ar.bspstore and restores ar.rnat based on it. This either avoids saving ar.rnat in the jmp_buf or is the consequence of not saving ar.rnat. All this complexity breaks libc_r where we use longjmp() to switch to different threads and the current ar.bspstore has no relation to the saved ar.bspstore. Thus: we save ar.rnat in setjmp() and simply restore ar.bspstore and ar.rnat in longjmp(). This code needs a cleanup. |
||
|---|---|---|
| .. | ||
| gen | ||
| net | ||
| stdlib | ||
| string | ||
| sys | ||
| Makefile.inc | ||
| SYS.h | ||