uvio_list_secrets(9)
β¨ uvio_list_secrets(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β we're doing uvio_list_secrets(9) today and honestly? it's a whole vibe π¦
π NAME π
uvio_list_secrets β performs a List Secret UVC π
πΈ SYNOPSIS πΈ
int uvio_list_secrets (struct uvio_ioctl_cb *uv_ioctl );
π ARGUMENTS π
uv_ioctlβ the ioctl control block π«Ά
π₯ DESCRIPTION π₯
So uvio_list_secrets does the List Secret Ultravisor Call, no cap. What it does first is verify that the userspace argument address you handed it is valid, and that its size is sane β like, a little vibe check on the input, nothing more π
Every other check is done by the Ultravisor (UV) itself, and those won't result in a negative return value, periodt. Then it builds the request, performs the UV-call, and copies the result to userspace. Iconic behaviour, truly β¨
The argument specifies the location for the result of the UV-Call.
Argument length must be a multiple of a page β literally, that's the rule, don't come at it with some random number π The list secrets IOCTL will call the list UVC multiple times and fill the provided user-buffer with list elements until either the list ends or the buffer is full. And the list header is merged over all list header from the individual UVCs β that's the merge, that's the girlboss move π
π if the List 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 come for the driver, it's not the one being weird about it.
π§ CONTEXT π§
might sleep π΄ (yes, really β it can sleep. adjust your energy accordingly, iykyk)
β RETURN β
0 on success, or a negative error code on error. that's the whole story π
π SEE ALSO π
- Kernel file
./drivers/s390/char/uvdevice.c uvio_uvdev_info(9)uvio_attestation(9)uvio_add_secret(9)uvio_lock_secrets(9)uvio_retr_secret(9)
all the sister calls, go read them, they ate π
that's it bestie, you're officially fluent in β¨ list secrets β¨ β this page came from ./drivers/s390/char, dated October 2026, and honestly? slay ππ«Άβ¨
π¦ 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