summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-10-26 11:56:09 -0700
committergVisor bot <gvisor-bot@google.com>2021-10-26 11:59:21 -0700
commit763d7e6e396d8d4c67d650e02bd2350b22606ada (patch)
tree690226ef6653e159c485e0cf374560db9952be77 /pkg/sentry/syscalls
parent8b2e8caad400fd3e7d3e4e235d26dd2d556bf65c (diff)
Obtain ref on root dentry in mqfs.GetFilesystem.
As documented in FilesystemType.GetFilesystem, a reference should be taken on the returned dentry and filesystem by GetFilesystem implementation. mqfs did not do that. Additionally cleanup and clarify ref counting of dentry, filesystem and mount in mqfs. Reported-by: syzbot+a2c54bfb6e1525228e5f@syzkaller.appspotmail.com Reported-by: syzbot+ccd305cdab11cfebbfff@syzkaller.appspotmail.com PiperOrigin-RevId: 405700565
Diffstat (limited to 'pkg/sentry/syscalls')
0 files changed, 0 insertions, 0 deletions