summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dev
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2021-02-24 15:37:46 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-24 15:39:32 -0800
commitf5692f7dcc48a76a5d7b45cdf71b59be876adb42 (patch)
treeb16a82bfc49ccc24b58397e3fabfee824eda92a8 /pkg/sentry/fs/dev
parent303c913c5e0e6f0bac766970d9ed19c08aabb980 (diff)
Kernfs should not try to rename a file to itself.
One precondition of VFS.PrepareRenameAt is that the `from` and `to` dentries are not the same. Kernfs was not checking this, which could lead to a deadlock. PiperOrigin-RevId: 359385974
Diffstat (limited to 'pkg/sentry/fs/dev')
0 files changed, 0 insertions, 0 deletions