restrict_li...nd_secondary(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so we're in the Kernel API Manual, bestie, and this page header is all truncated like restrict_li...nd_secondary(9) β€” but the actual star of the show is restrict_link_by_digsig_builtin_and_secondary β€” Restrict by digitalSignature. πŸ’…βœ¨


🌸 SYNOPSIS 🌸

int restrict_link_by_digsig_builtin_and_secondary (struct key *dest_keyring , const struct key_type *type , const union key_payload *payload , struct key *restrict_key );

πŸ’– ARGUMENTS πŸ’–

  • dest_keyring β€” the keyring being linked to. that's the destination, bestie 🫢
  • type β€” the type of key being added. gotta know her type πŸ‘‘
  • payload β€” the payload of the new key. the actual contents, no cap πŸ’Œ
  • restrict_key β€” a ring of keys that can be used to vouch for the new cert. it's giving references, but make it keys πŸ”‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function restricts the addition of keys into a keyring. the vibe check is simple: the key-to-be-added has to be vouched for by a key in either the built-in system keyring or the secondary system keyring. built-in bestie or secondary bestie, either one can vouch. πŸ’–

and the new key must have the digitalSignature usage field set. no digitalSignature field? no entry. periodt. πŸ’€βœ¨


🌈 SEE ALSO 🌈


okay bye bestie β€” this page is from the Kernel API Manual, source ./certs, dated October 2026, and its page name is restrict_li...nd_secondary(9). slay βœ¨πŸ’…

πŸ“¦ where this page comes from