ima_queue_delete_partial(9)
π ima_queue_delete_partial(9) π
okay bestie, welcome to the Kernel API Manual β¨ β today's main character is ima_queue_delete_partial, and honestly? she's giving cleanup crew energy. π§Ήπ
πΈ NAME πΈ
ima_queue_delete_partial β Delete current measurements ποΈβ¨
π¦ SYNOPSIS π¦
int ima_queue_delete_partial (unsigned long req_value );
like, that's the whole signature. short and iconic. no notes. π
π ARGUMENTS π
req_valueβ Number of measurements to delete π’π that's how many of them are getting un-alived from the list, bestie.
π DESCRIPTION π
okay so here's what she does: she deletes the requested number of measurements from the current measurements list, and then updates the number of records and the binary run-time size accordingly. everything stays in sync, no cap. π₯
but here's the gag π β she will refuse to delete current measurements if measurement is suspended. and the reason is actually kind of genius, lowkey: it means the dump can be done in a lockless way π , and user space gets notified that current measurements are being carried over to the secondary kernel, so it doesn't save them twice. imagine the double-save. the horror. ππ«Ά
β RETURN β
Zero on success π, a negative value otherwise π. classic. slay.
π SEE ALSO π
- Kernel file
./security/integrity/ima/ima_queue.cποΈβ¨ ima_queue_stage(9)ima_queue_staged_delete_all(9)ima_queue_delete(9)
go read the whole squad, iykyk ππ
signed, sealed, delivered by ./security/integrity/ima π β version vibes October 2026 ποΈβ¨, and yes this whole thing is still ima_queue_delete_partial(9) until the very last line, periodt. π
ππ¦
π¦ 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