rsi_attestat...ken_continue(9)
π rsi_attestation_token_continue β bestie, let's grab that token
okay so real talk, this is a page from the Kernel API Manual (the rsi_attestat...ken_continue(9) one, yes the header is doing the absolute most with that truncation, we love her anyway π). Buckle up, we're retrieving an attestation token, one granule at a time, and it's gonna be iconic.
β¨ NAME β¨
rsi_attestation_token_continue β literally the function that continues the operation to retrieve an attestation token. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
unsigned long rsi_attestation_token_continue (phys_addr_t granule ,
unsigned long offset , unsigned long size , unsigned long *len );
like, look at her. four params and a return value. main character energy fr fr. π
π ARGUMENTS π
granuleβ{I}PAof the Granule to which the token will be written. yes bestie, that's where the token goes. that's its home. πoffsetβ Offset within Granule to start of buffer, in bytes. so like, not the very beginning? that's fine, we support that. β¨sizeβ The size of the buffer. know your limits, queen. πlenβ The number of bytes written to the buffer. she reports back how much actually made it in. no cap. π
π§ DESCRIPTION π§
so the way this works: each call retrieves up to a RSI_GRANULE_SIZE worth of token data. up to. not always the whole thing. lowkey incremental, we're doing it in chunks and that's the point. π«Ά
the caller is expected to call rsi_attestation_token_init before calling this function to retrieve the attestation token. like, init first, then continue. don't skip the intro, bestie, it's rude and it won't work. π
π₯ RETURN π₯
RSI_SUCCESSβ Attestation token retrieved successfully. we ate. π β¨RSI_INCOMPLETEβ Token generation is not complete. not done yet, keep going, we're so close πRSI_ERROR_INPUTβ A parameter was not valid. one of the args was giving nothing, unfortunately πRSI_ERROR_STATEβ Attestation not in progress. you skipped the init, didn't you. i know you did. π
π SEE ALSO π
- Kernel file
./arch/arm64/include/asm/rsi_cmds.hβ go read it, iykyk π rsi_attestation_token_init(9)β the one you must call first, no exceptions π
bestie heads up: the order matters.rsi_attestation_token_initgoes first, or you're gettingRSI_ERROR_STATEand a vibe check failure. β
and that's the page, mwah π from ./arch/arm64/include/asm, dated October 2026, stamped with rsi_attestat...ken_continue(9) in the footer like a little signature. slay, go retrieve those tokens 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