diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2021-02-24 15:37:46 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-24 15:39:32 -0800 |
commit | f5692f7dcc48a76a5d7b45cdf71b59be876adb42 (patch) | |
tree | b16a82bfc49ccc24b58397e3fabfee824eda92a8 /pkg/bpf/program_builder.go | |
parent | 303c913c5e0e6f0bac766970d9ed19c08aabb980 (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/bpf/program_builder.go')
0 files changed, 0 insertions, 0 deletions