函数逻辑报告 |
Source Code:kernel\fork.c |
Create Date:2022-07-27 09:58:27 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Unshare the filesystem structure if it is being shared
函数原型:static int unshare_fs(unsigned long unshare_flags, struct fs_struct **new_fsp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | unshare_flags | |
struct fs_struct ** | new_fsp |
2855 | 如果非unshare_flags按位与共享文件系统的值或非fs则返回:0 |
2859 | 如果users恒等于1则返回:0 |
2862 | new_fsp等于copy_fs_struct(fs) |
2866 | 返回:0 |
名称 | 描述 |
---|---|
ksys_unshare | share allows a process to 'unshare' part of the process* context which was originally shared using clone. copy_** functions used by do_fork() cannot be used here directly* because they modify an inactive task_struct that is being* constructed |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |