tomoyo_get_dentry_path(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 to struct dentry. like, the dentry in question πŸ’…
  • buffer β€” pointer to the buffer to return the value in. that’s where the result goes, bestie ✨
  • buflen β€” Sizeof buffer. 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:


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