vfs_get_acl(9)
β¨ vfs_get_acl(9) β¨
okay so this is a page from the Kernel API Manual bestie, and it's literally all about vfs_get_acl π
like we're doing kernel-level ACL retrieval today, no cap π
πΈ NAME πΈ
vfs_get_acl β get posix acls π«Ά
π¦ SYNOPSIS π¦
struct posix_acl * vfs_get_acl (struct mnt_idmap *idmap , struct dentry
*dentry , const char *acl_name );
π ARGUMENTS π
idmapβ the idmap of the mount, like it's the whole identity-mapping situation for that mount π₯dentryβ the dentry based on which to retrieve the posix acls, yes THE dentry, the main character πacl_nameβ the name of the posix acl π·οΈ
π DESCRIPTION π
so this function retrieves kacl from the filesystem β¨ that's the whole vibe.
β οΈ bestie listen β the caller must callposix_acl_releaseonkacl. don't just grab it and ghost it, okay?? π release it. fr fr.
π RETURN π
- On success: POSIX ACLs in VFS format π₯³ slay
- On error: a negative errno π (not the vibe, but at least it tells you what went wrong)
π§ SEE ALSO π§
- Kernel file
./fs/posix_acl.cπ posix_acl_chmod(9)posix_acl_update_mode(9)posix_acl_from_xattr(9)vfs_posix_acl_to_xattr(9)vfs_set_acl(9)vfs_remove_acl(9)
all the acl besties, one big group chat π«Ά
kisses from the ./fs directory, dated October 2026, signed vfs_get_acl(9) β that's a wrap, ily, go release your kacl πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms