diff options
author | Dean Deng <deandeng@google.com> | 2019-12-10 10:55:08 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-10 11:09:44 -0800 |
commit | f47eaffd5c59445b8cafda1b7a51e7f4be5d254a (patch) | |
tree | affcbba5cd4e47641bda19b0508187a84d37eba9 /pkg/sentry/fs/dentry.go | |
parent | c15be3f8cfde692e94dbb936fc4111bc1560502c (diff) |
Do not consider symlinks as directories in fs utils.
IsDirectory() is used in RecursivelyDelete(), which should not follow symlinks.
The only other use (syscalls/linux/rename.cc) is not affected by this change.
Updates #1366.
PiperOrigin-RevId: 284803968
Diffstat (limited to 'pkg/sentry/fs/dentry.go')
0 files changed, 0 insertions, 0 deletions