函数逻辑报告 |
Source Code:security\tomoyo\realpath.c |
Create Date:2022-07-27 21:14:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_get_absolute_path - Get the path of a dentry but ignores chroot'ed root.*@path: Pointer to "struct path".*@buffer: Pointer to buffer to return value in.*@buflen: Sizeof @buffer.* Returns the buffer on success, an error code otherwise.
函数原型:static char *tomoyo_get_absolute_path(const struct path *path, char *const buffer, const int buflen)
返回类型:char
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct path * | path | |
| char *const | buffer | |
| const int | buflen |
| 98 | 如果buflen大于等于256则 |
| 100 | pos等于d_absolute_path(path, buffer, buflen - 1) |
| 110 | 返回:pos |
| 名称 | 描述 |
|---|---|
| tomoyo_realpath_from_path | moyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |