Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LibOS] Add SIGTERM signal to list of pending signals
Previously, `get_all_pending_signals()` helper function did not check for the SIGTERM signal (which has a special handling via `g_host_injected_signal`). Syscalls like `rt_sigsuspend()` and `rt_sigtimedwait()` use this helper function. Because of that erroneous behavior, apps like Nginx would wait for signals on one of these syscalls but would *not* react to SIGTERM (i.e., won't react to `kill <app>`). This commit fixes this bug, which in turn fixes nginx and ra-tls-nginx examples. Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
- Loading branch information