smack_d_instantiate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smack_d_instantiate(9) β€” Kernel API Manual πŸ’…

Okay so bestie, welcome to the smack_d_instantiate(9) page from the Kernel API Manual. This is the one that makes sure the blob is correct on an inode, and yes, we're keeping every single detail. No cap. ✨

🌸 NAME 🌸

smack_d_instantiate β€” Make sure the blob is correct on an inode. πŸ’–

✨ SYNOPSIS ✨

Here's the function signature, exact and untouched, because we do not play with code:

void smack_d_instantiate (struct dentry *opt_dentry , struct inode
       *inode );

πŸŽ€ ARGUMENTS πŸŽ€

  • opt_dentry β€” the dentry where inode will be attached. πŸ’«
  • inode β€” the object. That's literally it, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

This function sets the inode's security blob if it hasn't been done already. That's the whole vibe: make sure the blob is correct on an inode, and don't redo it if it's already handled. 🫢

🌈 SEE ALSO 🌈

The kernel file is ./security/smack/smack_lsm.c, and here's every single reference, no skips, no crumbs left behind:


And that's the whole page, bestie! πŸ’– This one lives in ./security/smack, dated October 2026, and it's the smack_d_instantiate(9) manual page. Periodt. πŸŽ€

πŸ“¦ where this page comes from