start_creating_noperm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… start_creating_noperm β€” like, the Kernel API Manual actually has a page for this πŸŽ€

okay so bestie, this is start_creating_noperm(9) from the Kernel API Manual and I need you to sit with me for a sec because this little function is that girl πŸ’–


✨ NAME ✨

start_creating_noperm β€” get everything prepped to create a given name, but without the permission checking, iykyk 🫢


🌸 SYNOPSIS 🌸

struct dentry * start_creating_noperm (struct dentry *parent , struct qstr *name );

look at her. so demure. so c-c-clean ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • parent β€” the directory where you're getting ready to create the name πŸ’… like, this is the vibes-holder, the folder, the whole location of it all
  • name β€” the actual name you wanna create πŸŽ€ literally the thing itself

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea, bestie: locks get taken and a lookup gets performed before an object gets created in a directory πŸ”₯ that's the whole ritual, no cap.

And if the name already exists? You get a positive dentry back. That's it, that's the outcome β€” she's already there, she's thriving, move on πŸ’€


⭐ RETURN ⭐

you get back a negative dentry or a positive dentry, or an error 😭 that's the whole range, that's the vibe check.


🌈 SEE ALSO 🌈

kernel file ./fs/namei.c β€” home of the whole situation, go read it fr fr πŸ“–

the full friend group, in the order the page gives them:


and that's the page, bestie πŸ§šπŸ’œ

sign-off szn: this one lives under ./fs, it's dated October 2026, and yeah β€” it's start_creating_noperm(9) all the way down πŸ“πŸ’… slay.
πŸ“¦ where this page comes from