diff options
author | Dean Deng <deandeng@google.com> | 2020-11-02 22:30:23 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-02 22:32:22 -0800 |
commit | 1321f837bd9f082e3c1b0a37831453b3637202c3 (patch) | |
tree | c4e6aa368affb11812a94f5b9d45286e5e6332b3 /pkg/sentry/socket/control/control.go | |
parent | c22067d3d4452ac6b65bd56daf796ffeca09e65c (diff) |
[vfs2] Refactor kernfs checkCreateLocked.
Don't return the filename, since it can already be determined by the caller.
This was causing a panic in RenameAt, which relied on the name to be nonempty
even if the error was EEXIST.
Reported-by: syzbot+e9f117d000301e42361f@syzkaller.appspotmail.com
PiperOrigin-RevId: 340381946
Diffstat (limited to 'pkg/sentry/socket/control/control.go')
0 files changed, 0 insertions, 0 deletions