diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-15 00:00:04 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-15 00:01:02 -0800 |
commit | 5cc0bbbafb2dc7d248bc3141b4cfa022d420abd1 (patch) | |
tree | e5ad432e378c86d259d7e2faba862839cce7ecc9 /pkg/sentry/fs | |
parent | 3d32ad1367b4e84a0822808f44bd7b9f9351db71 (diff) |
Ensure Marshallable.SizeBytes() always works on a typed nil pointer.
This lets go-marshal replace various calls to binary.Size() throughout
the sentry without requiring concrete objects.
PiperOrigin-RevId: 295299965
Diffstat (limited to 'pkg/sentry/fs')
0 files changed, 0 insertions, 0 deletions