| Function report | 
| Source Code: security\tomoyo\realpath.c | Create Date:2022-07-28 19:46:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:moyo_get_local_path - Get the path of a dentry.*@dentry: Pointer to "struct dentry".*@buffer: Pointer to buffer to return value in.*@buflen: Sizeof @buffer.* Returns the buffer on success, an error code otherwise.
Proto:static char *tomoyo_get_local_path(struct dentry *dentry, char *const buffer, const int buflen)
Type:char
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | |
| char *const | buffer | |
| const int | buflen | 
| 161 | If s_magic == PROC_SUPER_MAGIC && pos == '/' Then | 
| 165 | If ep == '/' && pid && pid == task_tgid_nr_ns(current process, Filesystem private info ) Then | 
| 172 | Go to prepend_filesystem_name | 
| 175 | If Not MAJOR( search index; _not_ kdev_t ) Then Go to prepend_filesystem_name | 
| 184 | If Not rename Then Go to prepend_filesystem_name | 
| 201 | Return pos | 
| 204 | prepend_filesystem_name : | 
| 215 | Return pos | 
| 216 | out : | 
| Name | Describe | 
|---|---|
| tomoyo_realpath_from_path | moyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |