tomoyo_get_dentry_path(9)
π¦ tomoyo_get_dentry_path(9) β Kernel API Manual π
β¨ NAME β¨
tomoyo_get_dentry_path β get the path of a dentry. thatβs the whole vibe, bestie. π
π SYNOPSIS π
char * tomoyo_get_dentry_path (struct dentry *dentry , char * const
buffer , const int buflen );
π§ ARGUMENTS π§
okay so there are three inputs, and yes, every single one is doing something:
dentryβ pointer tostruct dentry. like, the dentry in question πbufferβ pointer to the buffer to return the value in. thatβs where the result goes, bestie β¨buflenβSizeofbuffer. literally the size of the buffer π
π DESCRIPTION π
hereβs the tea: it returns the buffer on success, and an error code otherwise. periodt. π
and if dentry is a directory, a trailing '/' is appended. yes, the slash gets added at the end. πΈ
π₯ SEE ALSO π₯
bestie, go peek at the kernel file ./security/tomoyo/realpath.c and these related manual pages too:
tomoyo_encode2(9)tomoyo_encode(9)tomoyo_get_absolute_path(9)tomoyo_get_local_path(9)tomoyo_realpath_from_path(9)tomoyo_realpath_nofollow(9)
and thatβs the page, bestie π source/version: ./security/tomoyo Β· date: October 2026 Β· manual page: tomoyo_get_dentry_path(9) β¨π
π¦ 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