Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mount_too_revealing
Proto:static bool mount_too_revealing(const struct super_block *sb, int *new_mnt_flags)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct super_block * | sb | |
int * | new_mnt_flags |
3907 | If user_ns == userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ? Then Return false |
3912 | If Not (s_iflags & stype already mounted ) Then Return false |
3915 | If (s_iflags & required_iflags) != required_iflags Then |
3916 | WARN_ONCE(1, "Expected s_iflags to contain 0x%lx\n", required_iflags) |
3918 | Return true |
3921 | Return Not mnt_already_visible(ns, sb, new_mnt_flags) |
Name | Describe |
---|---|
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. |
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 |