summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/tests/register_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-02-22 09:31:32 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-22 09:33:46 -0800
commit19fe3a2bfb72622c307311dc61019238896a756b (patch)
treef2c46a08217feb8cc4d9274ef912342c665d6a29 /pkg/state/tests/register_test.go
parent93fc09248a2fa8b840d8ce47800414980d74bdb0 (diff)
Fix `runsc kill --pid`
Previously, loader.signalProcess was inconsitently using both root and container's PID namespace to find the process. It used root namespace for the exec'd process and container's PID namespace for other processes. This fixes the code to use the root PID namespace across the board, which is the same PID reported in `runsc ps` (or soon will after https://github.com/google/gvisor/pull/5519). PiperOrigin-RevId: 358836297
Diffstat (limited to 'pkg/state/tests/register_test.go')
0 files changed, 0 insertions, 0 deletions