summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/kernel.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-10-14 09:52:05 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-14 09:54:05 -0700
commitfc1e653973c97a857582b8f3651399673343589a (patch)
tree0c66c65ddce71cadcdf4fe8940bad5d12fc139e7 /pkg/sentry/kernel/kernel.go
parenta7b7b7b9804e9968c1fed5f7b3849233f585a88b (diff)
Fix SCM Rights reference leaks.
Control messages should be released on Read (which ignores the control message) or zero-byte Send. Otherwise, open fds sent through the control messages will be leaked. PiperOrigin-RevId: 337110774
Diffstat (limited to 'pkg/sentry/kernel/kernel.go')
0 files changed, 0 insertions, 0 deletions