diff options
author | Chong Cai <chongc@google.com> | 2020-09-17 17:42:58 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-17 17:44:58 -0700 |
commit | 1e8beb5f1d925ed0c30a2b810fc2a0bffbd3cf58 (patch) | |
tree | 5a03248eb8cb6ee11e50f9c111cdb9c4519fd26c /pkg/sentry/inet/namespace.go | |
parent | f1f844daabdacf46f6237ddf0a90c370dbe2348a (diff) |
Change sizeofInt32 to string size
This constant is used to represent int32 stored in file xattrs. The
integers are stored as strings there, so the real size should be the
string size (number of digits) instead of an int size (4 bytes).
PiperOrigin-RevId: 332353217
Diffstat (limited to 'pkg/sentry/inet/namespace.go')
0 files changed, 0 insertions, 0 deletions