uvio_lock_secrets(9)
π uvio_lock_secrets(9) β Kernel API Manual π
okay so bestie, you found the uvio_lock_secrets(9) page and honestly? it's giving very specific kernel-business energy β¨. Let's get into it π«Ά.
β¨ NAME β¨
uvio_lock_secretsβ literally performs a Lock Secret Store UVC. periodt π
π SYNOPSIS π
int uvio_lock_secrets (struct uvio_ioctl_cb *ioctl );
πΈ ARGUMENTS πΈ
ioctlβ the ioctl control block, bestie π
π¦ DESCRIPTION π¦
uvio_lock_secrets performs the Lock Secret Store Ultravisor Call. It performs the UV-call and copies the return codes to the ioctl control block π. After this call was dispatched successfully, every following Add Secret UVC and Lock Secrets UVC will fail with return code 0x102 π β yes, fr fr.
The argument address and size must be 0 β not optional, bestie π.
If the Lock Secrets UV facility is not present, UV will return invalid command rc. This won't be fenced in the driver and does not result in a negative return value π. So don't go side-eyeing the driver for a negative return here, iykyk.
π΄ CONTEXT π΄
might sleep β yes, she naps π΄π€
π RETURN π
0 on success or a negative error code on error β
π SEE ALSO π
- Kernel file:
./drivers/s390/char/uvdevice.cπ uvio_uvdev_info(9)uvio_attestation(9)uvio_add_secret(9)uvio_list_secrets(9)uvio_retr_secret(9)
and that's the whole page, bestie π«Ά β straight from ./drivers/s390/char, dated October 2026, and signed by none other than uvio_lock_secrets(9) itself πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms