]> git.itanic.dy.fi Git - linux-stable/commit
s390/hypfs: include z/VM guests with access control group set
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 20 Jan 2022 15:23:19 +0000 (16:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:16:23 +0000 (18:16 +0100)
commita3f1adb203a04343e41171feeda34da1fb58768b
tree916ccff0184446d2f77604dbe1b2b12bacaf30c1
parent5a539c08d743d9910631448da78af5e961664c0e
s390/hypfs: include z/VM guests with access control group set

commit 663d34c8df98740f1e90241e78e456d00b3c6cad upstream.

Currently if z/VM guest is allowed to retrieve hypervisor performance
data globally for all guests (privilege class B) the query is formed in a
way to include all guests but the group name is left empty. This leads to
that z/VM guests which have access control group set not being included
in the results (even local vm).

Change the query group identifier from empty to "any" to retrieve
information about all guests from any groups (or without a group set).

Cc: stable@vger.kernel.org
Fixes: 31cb4bd31a48 ("[S390] Hypervisor filesystem (s390_hypfs) for z/VM")
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/hypfs/hypfs_vm.c