tomoyo_path_mkdir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_path_mkdir β€” the kernel API manual, bestie edition ✨

okay so real talk, this is a section 9 kernel API page, the kind of thing you read when you're already deep in kernel land. stay with me though, it's short and honestly kind of iconic 🫢


🌸 NAME 🌸

tomoyo_path_mkdir β€” the target for security_path_mkdir(). that's the whole vibe, she's a hook and she knows it πŸ’…


✨ SYNOPSIS ✨

int tomoyo_path_mkdir (const struct path *parent , struct dentry *dentry
, umode_t mode );

literally the whole signature, no cap πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • parent β€” a pointer to "struct path". yes the quotes are part of the original, don't come for me πŸ™ˆ
  • dentry β€” a pointer to "struct dentry". iconic struct, no notes ⭐
  • mode β€” the DAC permission mode. the permissions, the vibes, the whole mood πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so what does she do? she returns 0 on success, and a negative value otherwise. that's it. that's the whole description. short king energy fr fr 😭


🌈 SEE ALSO 🌈

the kernel file lives at ./security/tomoyo/tomoyo.c and it's giving main character energy, so here's the full friend group, all thirty of them, not one skipped bestie πŸ’œ

go read them. all of them. i'll wait πŸ“

and that's the page!! mwah πŸ’‹ this cutie comes to you from ./security/tomoyo, dated October 2026, and she answers to the name tomoyo_path_mkdir(9) β€” periodt πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from