summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/resume.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-10-15 09:59:59 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-15 10:01:22 -0700
commita2956163267e253f614dd2d6d8151614b9b0dc77 (patch)
tree32591e54491d2681aa9c5986691110598be3e746 /runsc/cmd/resume.go
parentbfa0bb24dd73072b3ccfe302afa89d1b5d46b927 (diff)
Make Attach no longer a special snowflake
fsgofer.attachPoint.Attach has a bunch of funky special logic to create a RW file or connect a socket rather than creating a standard control file like localFile.Walk. This is unecessary and error-prone, as the attach point still has to go through Open or Connect which will properly convert the control file to something usable. As such, switch the logic to be equivalent to a simple Walk. Updates #235 PiperOrigin-RevId: 274827872
Diffstat (limited to 'runsc/cmd/resume.go')
0 files changed, 0 insertions, 0 deletions