summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSeth Forshee <seth.forshee@canonical.com>2017-10-07 22:36:55 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-08 09:08:36 (GMT)
commit2e727b8abeeb0e4144902cbb485311ad54272601 (patch)
tree45623ccbb5ba9d1a0bb07336c07bc62774b78ea7 /sound
parent7ec661f585785ffe20f8dd2849fbde7bf77b24bb (diff)
downloadlinux-2e727b8abeeb0e4144902cbb485311ad54272601.tar.xz
vfs: open() with O_CREAT should not create inodes with unknown ids
[ Upstream commit 1328c727004d432bbdfba0ffa02a166df04c7305 ] may_create() rejects creation of inodes with ids which lack a mapping into s_user_ns. However for O_CREAT may_o_create() is is used instead. Add a similar check there. Fixes: 036d523641c6 ("vfs: Don't create inodes with a uid or gid unknown to the vfs") Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions