dirty_cow_bottom_up(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is dirty_cow_bottom_up(9) from the Kernel API Manual, section 9 β€” and it's literally about dirtying a znode and its ancestors ✨

πŸ’… NAME πŸ’…

dirty_cow_bottom_up β€” dirty a znode and its ancestors. periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct ubifs_znode * dirty_cow_bottom_up (struct ubifs_info *c , struct ubifs_znode *znode );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object. like the main character of the filesystem, yk?
  • znode β€” the znode you wanna dirty. yes bestie, that exact one.

🌸 DESCRIPTION 🌸

okay so here's the tea: if we do not have a unique key that resides in a znode, then we cannot dirty that znode from the top down (i.e. by using lookup_level0_dirty). that's just the vibe, no cap.

so this function records the path back to the last dirty ancestor, and then dirties the znodes on that path. it's giving bottom-up energy, and honestly? iconic.

πŸ”₯ SEE ALSO πŸ”₯

bestie, go check out the kernel file ./fs/ubifs/tnc.c and these absolute legends:


sending all my love from ./fs/ubifs, October 2026 πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from