diff options
author | Adam Barth <abarth@google.com> | 2021-06-03 09:42:42 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-03 09:47:24 -0700 |
commit | ddcd17399b1c1083a132772702d516c154815680 (patch) | |
tree | 0d6e1fefdbdaabd9fccbb46bf765cd51eaf079fa /pkg/sentry/limits/limits_test.go | |
parent | 9357b4f7eb51b78311cb7d6478d5ac3bfcf79948 (diff) |
Reset global_num_signals_received on RegisterSignalHandler
Previously, the value of global_num_signals_received would persist between
tests. Now, we reset the value to zero when we register a signal handler.
PiperOrigin-RevId: 377308357
Diffstat (limited to 'pkg/sentry/limits/limits_test.go')
0 files changed, 0 insertions, 0 deletions