ecryptfs_setattr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ecryptfs_setattr β€” that's literally the NAME line, bestie; the original leaves the description side empty πŸ˜­πŸ’…

okay so real quick: this page is ecryptfs_setattr from the Kernel API Manual, section 9. Yes we're in kernel API land, stay with me 🫢

πŸ’– SYNOPSIS πŸ’–

int ecryptfs_setattr (struct mnt_idmap *idmap , struct dentry *dentry , struct iattr *ia );

πŸŽ€ ARGUMENTS πŸŽ€

  • idmap β€” idmap of the target mount πŸ—ΊοΈ
  • dentry β€” dentry handle to the inode to modify πŸͺ„
  • ia β€” Structure with flags of what to change and values πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function updates the metadata of an inode. Slay.

If the update is to the size β€” i.e. truncation β€” then ecryptfs_truncate will handle the size modification of both the ecryptfs inode and the lower inode. That's the size-change situation, iykyk 🌸

All other metadata changes will be passed right to the lower filesystem, and we will just update our inode to look like the lower. No cap, that's the whole vibe πŸ’–

🌈 SEE ALSO 🌈

okurrr that's a wrap πŸŽ€βœ¨ source/version tag: ./fs/ecryptfs Β· date: October 2026 πŸ«ΆπŸ’…

πŸ“¦ where this page comes from