uvio_retr_secret(9)
π uvio_retr_secret(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's about uvio_retr_secret, and honestly? it's giving "small function, big responsibilities" energy π
πΈ NAME πΈ
uvio_retr_secret β perform a retrieve secret UVC π΅οΈββοΈπ
β¨ SYNOPSIS β¨
int uvio_retr_secret (struct uvio_ioctl_cb *uv_ioctl );
like, that's the whole signature. no notes. iconic. π
π ARGUMENTS π
uv_ioctlβ the ioctl control block, bestie. that's the whole vibe of this parameter. π«Ά
π¦ DESCRIPTION π¦
so what does it do? uvio_retr_secret performs the Retrieve Secret Ultravisor Call π₯ periodt.
here's the tea π: the first two bytes of the argument specify the index of the secret you wanna retrieve. yes, the first two bytes specifically, don't come for me, that's just how it is.
the retrieved secret then gets copied into the argument buffer β but only if there is enough space π so like, vibe check your buffer first, fr fr.
and the argument length? it must be at least two bytes and at max 8192 bytes β that's the range, no cap. go outside it and, wellβ¦ don't. π
π CONTEXT π
might sleep π΄π€
(and yes, that means what it means β don't be doing this in a context where sleeping is a no-no, bestie. ngl that's important.)
β RETURN β
0on success π slay- a negative error code on error π not slay
π 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_lock_secrets(9)
go read those too, they're all in the same friend group π§ββοΈπ
lowkey reminder: keep every byte count and every option name exactly as written above β the vibes are flexible, the facts are not π
and that's a wrap, bestie π this page lives in ./drivers/s390/char, dated October 2026, and it's from the Kernel API Manual itself β so you know it's legit πβ¨ mwah, ty for reading, ily, go retrieve those secrets responsibly π
π
π¦ 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