mbox series

[0/1] add ioctl IOC_OPAL_SET_SID_PW

Message ID 20240816153557.11734-1-gjoyce@linux.ibm.com (mailing list archive)
Headers show
Series add ioctl IOC_OPAL_SET_SID_PW | expand

Message

Greg Joyce Aug. 16, 2024, 3:35 p.m. UTC
From: Greg Joyce <gjoyce@linux.ibm.com>

After a SED drive is provisioned, there is no way to change the SID
password via the ioctl() interface. A new ioctl IOC_OPAL_SET_SID_PW
will allow the password to be changed. The valid current password is
required.

Greg Joyce (1):
  block: sed-opal: add ioctl IOC_OPAL_SET_SID_PW

 block/sed-opal.c              | 26 ++++++++++++++++++++++++++
 include/linux/sed-opal.h      |  1 +
 include/uapi/linux/sed-opal.h |  1 +
 3 files changed, 28 insertions(+)