diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2019-06-26 11:48:09 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-26 11:49:20 -0700 |
commit | 857e5c47e914aeeec12662d85466d91bf4ce3504 (patch) | |
tree | c0c4620f4579d13dedd876bfeaf876b384b03a09 /pkg/sentry/kernel/fd_map.go | |
parent | 67e2f227aac49129936efc640a6c47a0978b187d (diff) |
Follow symlinks when creating a file, and create the target.
If we have a symlink whose target does not exist, creating the symlink (either
via 'creat' or 'open' with O_CREAT flag) should create the target of the
symlink. Previously, gVisor would error with EEXIST in this case
PiperOrigin-RevId: 255232944
Diffstat (limited to 'pkg/sentry/kernel/fd_map.go')
0 files changed, 0 insertions, 0 deletions