summaryrefslogtreecommitdiffhomepage
path: root/tools/checklocks
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2021-03-25 20:25:46 -0700
committergVisor bot <gvisor-bot@google.com>2021-03-25 20:27:38 -0700
commitfbec65fc3f21773cbec3db4aadf27b85e8859448 (patch)
treee797e9bdbb2bd8653bda2fcc7cc8e56b04fa7cb3 /tools/checklocks
parent79bc446facf3d6920853c4cf35e72d25dd4c1011 (diff)
Use seqfile.SeqHandles correctly in VFS1 /proc/net/.
Before this change: ``` $ docker run --runtime=runsc --rm -it -v ~/tmp:/hosttmp ubuntu:focal /hosttmp/issue5732 --bytes1=128 --bytes2=1024 #1: read(128) = 128 #2: read(1024) = EOF $ docker run --runtime=runsc-vfs2 --rm -it -v ~/tmp:/hosttmp ubuntu:focal /hosttmp/issue5732 --bytes1=128 --bytes2=1024 #1: read(128) = 128 #2: read(1024) = 256 ``` After this change: ``` $ docker run --runtime=runsc --rm -it -v ~/tmp:/hosttmp ubuntu:focal /hosttmp/issue5732 --bytes1=128 --bytes2=1024 #1: read(128) = 128 #2: read(1024) = 256 $ docker run --runtime=runsc-vfs2 --rm -it -v ~/tmp:/hosttmp ubuntu:focal /hosttmp/issue5732 --bytes1=128 --bytes2=1024 #1: read(128) = 128 #2: read(1024) = 256 ``` Fixes #5732 PiperOrigin-RevId: 365178386
Diffstat (limited to 'tools/checklocks')
0 files changed, 0 insertions, 0 deletions