tomoyo_get_local_path(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tomoyo_get_local_path(9) πŸŽ€

okay so this is the tomoyo_get_local_path(9) page from the Kernel API Manual, and it is giving short-and-sweet kernel realness ✨ bestie, we are getting the path of a dentry.


✨ NAME ✨

tomoyo_get_local_path β€” Get the path of a dentry πŸ’…

🌸 SYNOPSIS 🌸

char * tomoyo_get_local_path (struct dentry *dentry , char * const
       buffer , const int buflen );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dentry β€” pointer to "struct dentry" 🫢.
  • buffer β€” pointer to the buffer to return value in πŸŽ€.
  • buflen β€” size of the buffer; the original literally says Sizeof buffer. πŸ“.

πŸ’– DESCRIPTION πŸ’–

On success, it returns the buffer β€” yay πŸ’–. Otherwise, it returns an error code. The original puts it exactly like this: Returns the buffer on success, an error code otherwise. no cap.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./security/tomoyo/realpath.c is in the group chat, and the whole squad is:


xoxo, your local path bestie πŸ’… β€” source/version: ./security/tomoyo, date: October 2026, page: tomoyo_get_local_path(9) 🌈🫢

πŸ“¦ where this page comes from