restrict_lin...ltin_trusted(9)
π NAME π
okay so bestie, this is the restrict_lin...ltin_trusted(9) page from the Kernel API Manual, and we're diving in π. The function is restrict_link_by_builtin_trusted, and it does exactly this: Restrict keyring addition by built-in CA. no cap, that's the whole name.
β¨ SYNOPSIS β¨
int restrict_link_by_builtin_trusted (struct key *dest_keyring , const struct key_type *type , const union key_payload *payload , struct key *restriction_key );
π«Ά ARGUMENTS π«Ά
dest_keyringβ the keyring being linked to. literally the destination of the link, bestie.typeβ the type of key being added. gotta know the type π.payloadβ the payload of the new key. the actual contents, the goods, the payload.restriction_keyβ a ring of keys that can be used to vouch for the new cert. it's giving βvouch for meβ energy π .
πΈ DESCRIPTION πΈ
so the vibe is: restrict the addition of keys into a keyring based on the key-to-be-added being vouched for by a key in the built in system keyring. That's it, that's the tea π΅. The key-to-be-added needs that vouch from the built in system keyring β no extra lore, no invented rules, periodt.
π₯ SEE ALSO π₯
Kernel file ./certs/system_keyring.c is right here in the mix, and the rest of the squad is:
restrict_link_by_digsig_builtin(9)restrict_link_by_builtin_and_secondary_trusted(9)restrict_link_by_digsig_builtin_and_secondary(9)add_to_secondary_keyring(9)restrict_link_by_builtin_secondary_and_machine(9)verify_pkcs7_message_sig(9)verify_pkcs7_signature(9)
mwah π β source is ./certs, version date is October 2026, and this iconic page is restrict_lin...ltin_trusted(9). 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