Ondrej Kozina 4c4dd04e75 sed-opal: Add command to read locking range parameters.
It returns following attributes:

locking range start
locking range length
read lock enabled
write lock enabled
lock state (RW, RO or LK)

It can be retrieved by user authority provided the authority
was added to locking range via prior IOC_OPAL_ADD_USR_TO_LR
ioctl command. The command was extended to add user in ACE that
allows to read attributes listed above.

Signed-off-by: Ondrej Kozina <okozina@redhat.com>
Tested-by: Luca Boccassi <bluca@debian.org>
Tested-by: Milan Broz <gmazyland@gmail.com>
Link: https://lore.kernel.org/r/20230405111223.272816-6-okozina@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-04-05 07:46:26 -06:00
..
2023-03-05 10:49:37 -08:00
2023-02-24 12:58:55 -08:00
2023-02-27 10:04:49 -08:00
2023-02-15 12:33:28 -05:00
2023-02-26 11:47:26 -08:00
2023-03-03 14:41:50 -08:00
2023-03-04 10:53:59 -08:00
2023-02-27 16:18:51 -08:00
2023-03-03 14:41:50 -08:00
2023-02-01 17:23:38 +01:00
2023-02-24 12:58:55 -08:00