diff options
author | Michael Pratt <mpratt@google.com> | 2019-10-15 09:59:59 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-15 10:01:22 -0700 |
commit | a2956163267e253f614dd2d6d8151614b9b0dc77 (patch) | |
tree | 32591e54491d2681aa9c5986691110598be3e746 /pkg/sentry/fsimpl/memfs/filesystem.go | |
parent | bfa0bb24dd73072b3ccfe302afa89d1b5d46b927 (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 'pkg/sentry/fsimpl/memfs/filesystem.go')
0 files changed, 0 insertions, 0 deletions