OSDN Git Service

s390/zcrypt: Filter admin CPRBs on custom devices
authorJuergen Christ <jchrist@linux.ibm.com>
Wed, 9 Mar 2022 13:30:05 +0000 (14:30 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 27 Mar 2022 20:18:38 +0000 (22:18 +0200)
commitcfd68b33094e1a92249850ff3c3c92ae9112a541
tree4f5cc188d66225aa310a516497648e30ea22f409
parent895ae58da4a2360d9c2d255cd9fc8de64e265022
s390/zcrypt: Filter admin CPRBs on custom devices

Add a filter for custom devices to check for allowed control domains of
admin CPRBs.  This filter only applies to custom devices and not to the
main device.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/zcrypt_api.c