LOADPIN_IOC_...RITY_DIGESTS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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