uvio_add_secret(9)
π NAME π
okay bestie, welcome to uvio_add_secret(9) β yes, that's the page, straight from the Kernel API Manual. it performs an Add Secret UVC. iconic behavior. π«Ά
β¨ SYNOPSIS β¨
int uvio_add_secret (struct uvio_ioctl_cb *uv_ioctl );
π ARGUMENTS π
uv_ioctlβ the ioctl control block. that's the arg, periodt. π
π¦ DESCRIPTION π¦
okay so uvio_add_secret performs the Add Secret Ultravisor Call. literally what it says on the tin. β¨
The given userspace argument address and size are verified to be valid, but every other check is made by the Ultravisor (UV). so bestie, UV errors won't result in a negative return value β that's a big deal. The request is then copied to kernelspace, the UV-call is performed, and the results are copied back to userspace. π«
The argument has to point to an Add Secret Request Control Block β which is an encrypted and cryptographically verified request that inserts a protected guest's secrets into the Ultravisor for later use. no cap, that's the whole point. π
If the Add Secret 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. periodt. π
βοΈ CONTEXT βοΈ
might sleep π΄
π RETURN π
0 on success or a negative error code on error. simple as that, bestie. π
πΈ SEE ALSO πΈ
Kernel file ./drivers/s390/char/uvdevice.c, plus uvio_uvdev_info(9), uvio_attestation(9), uvio_list_secrets(9), uvio_lock_secrets(9), and uvio_retr_secret(9). go read those next, iykyk. π¦
mwah π β source/version + date vibes: ./drivers/s390/char Β· October 2026. and that's the whole uvio_add_secret(9) page, bestie. π
π¦ 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