LOADPIN_IOC_...RITY_DIGESTS(9)
π LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS(9)
okay bestie, so this is a page straight out of the Kernel API Manual and it's genuinely such a slay little ioctl, let me tell you everything π«Ά
β¨ NAME β¨
LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS β the icon that lets you set up the root digests of verity devices that loadpin should trust π
π SYNOPSIS π
LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS
πΈ DESCRIPTION πΈ
So here's the vibe: this ioctl takes a file descriptor, and from that fd it reads the root digests of your trusted verity devices. Easy, right? π
That file is expected to contain a list of digests in ASCII format, and it's one line per digest β no cap, that's literally the whole format, keep it cute and one-per-line β¨
lowkey important: the ioctl must be issued on the securityfs attribute loadpin/dm-verity.
And where does that live? Typically you'll find it right here, bestie π¦:
/sys/kernel/security/loadpin/dm-verity
that's it, that's the whole flow. main character energy from a securityfs attribute, honestly ππ
π SEE ALSO π
- Kernel file
./include/uapi/linux/loadpin.h
and that's the page!! mwah π stay safe out there and remember: one digest per line, periodt πβ¨
source: ./include/uapi/linux Β· dated October 2026 Β· byeee bestie, go set some trusted digests π§π
π¦ 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