函数逻辑报告 |
Source Code:security\apparmor\path.c |
Create Date:2022-07-27 21:29:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If the path is not connected to the expected root,* check if it is a sysctl and handle specially else remove any* leading / that __d_path may have returned
函数原型:static int disconnect(const struct path *path, char *buf, char **name, int flags, const char *disconnected)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct path * | path | |
char * | buf | |
char ** | name | |
int | flags | |
const char * | disconnected |
51 | error等于0 |
53 | 如果非flags按位与 connect disconnected paths to / 的值且非flags按位与CHROOT_NSCONNECT的值恒等于CHROOT_NSCONNECT且our_mnt(mnt)的值则 |
62 | 否则 |
63 | 如果name不等于'/'则error等于modified from dcache.c |
71 | 返回:error |
名称 | 描述 |
---|---|
d_namespace_path | d_namespace_path - lookup a name associated with a given path*@path: path to lookup (NOT NULL)*@buf: buffer to store path to (NOT NULL)*@name: Returns - pointer for start of path name with in @buf (NOT NULL)*@flags: flags controlling path |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |