cxl/pmem: Enforce keyctl ABI for PMEM security
authorDan Williams <dan.j.williams@intel.com>
Thu, 1 Dec 2022 22:03:30 +0000 (14:03 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 3 Dec 2022 07:52:32 +0000 (23:52 -0800)
commit07cb5f705b4fe9e1386a610da4cb3c063267714f
treea8c8ac96b4b098695fb5b4a821b39ce268c5b4a5
parentbf3e5da8cb43a671b32fc125fa81b8f6a3677192
cxl/pmem: Enforce keyctl ABI for PMEM security

Preclude the possibility of user tooling sending device secrets in the
clear into the kernel by marking the security commands as exclusive.
This mandates the usage of the keyctl ABI for managing the device
passphrase.

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/166993221008.1995348.11651567302609703175.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c