tomoyo_get_local_path(9)
π 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 saysSizeof 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:
tomoyo_encode2(9)tomoyo_encode(9)tomoyo_get_absolute_path(9)tomoyo_get_dentry_path(9)tomoyo_realpath_from_path(9)tomoyo_realpath_nofollow(9)
xoxo, your local path bestie π
β source/version: ./security/tomoyo, date: October 2026, page: tomoyo_get_local_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