ima_queue_staged_delete_all(9)
π NAME π
okay bestie, meet ima_queue_staged_delete_all(9) β the Kernel API Manual entry for Delete staged measurements. π
this is the cleanup girly. no cap.
β¨ SYNOPSIS β¨
int ima_queue_staged_delete_all (void );
πΈ ARGUMENTS πΈ
voidβ no arguments. literally none, bestie π«Ά
π¦ DESCRIPTION π¦
okay so the way this one works: it moves staged measurements to a temporary list, ima_measurements_trim, and updates the number of records and the binary run-time size accordingly. then β finally β it deletes the measurements in the temporary list. slay. π
and plot twist: it refuses to delete staged measurements if measurement is suspended, so that dump can be done in a lockless way and user space is notified about staged measurements being carried over to the secondary kernel, so that it does not save them twice. periodt. π₯
π RETURN π
- Zero on success, a negative value otherwise. that's the whole vibe check. π
β SEE ALSO β
Kernel file ./security/integrity/ima/ima_queue.c plus these besties:
sign-off cutie: this page is from ./security/integrity/ima, dated October 2026, and yes bestie, it's still ima_queue_staged_delete_all(9). mwah ππ
π¦ 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