函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mount_too_revealing
函数原型:static bool mount_too_revealing(const struct super_block *sb, int *new_mnt_flags)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct super_block * | sb | |
int * | new_mnt_flags |
3907 | 如果user_ns恒等于userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ?则返回:false |
3912 | 如果非s_iflags按位与stype already mounted 的值则返回:false |
3915 | 如果s_iflags按位与required_iflags的值不等于required_iflags则 |
3916 | WARN_ONCE(1, "Expected s_iflags to contain 0x%lx\n", required_iflags) |
3918 | 返回:true |
3921 | 返回:非mnt_already_visible(ns, sb, new_mnt_flags) |
名称 | 描述 |
---|---|
do_new_mount_fc | Create a new mount using a superblock configuration and request it* be added to the namespace tree. |
SYSCALL_DEFINE3 | Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |