summaryrefslogtreecommitdiffhomepage
path: root/runsc/cgroup
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-02-05 17:14:59 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-05 17:17:30 -0800
commit09afd68326898f783927c65f86f813d815d8c16c (patch)
tree4cea9f27b4d37f15441aadae7c1bc5f5f5a9ec8a /runsc/cgroup
parent24416032ab848cff7696b3f37e4c18220aeee2c0 (diff)
[vfs] Handle `.` and `..` as last path component names in kernfs Rename.
According to vfs.FilesystemImpl.RenameAt documentation: - If the last path component in rp is "." or "..", and opts.Flags contains RENAME_NOREPLACE, RenameAt returns EEXIST. - If the last path component in rp is "." or "..", and opts.Flags does not contain RENAME_NOREPLACE, RenameAt returns EBUSY. Reported-by: syzbot+6189786e64fe13fe43f8@syzkaller.appspotmail.com PiperOrigin-RevId: 355959266
Diffstat (limited to 'runsc/cgroup')
0 files changed, 0 insertions, 0 deletions