Function report |
Source Code:include\linux\user_namespace.h |
Create Date:2022-07-28 05:49:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_user_ns
Proto:static inline struct user_namespace *get_user_ns(struct user_namespace *ns)
Type:struct user_namespace
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct user_namespace * | ns |
| 143 | Return init_user_ns |
| Name | Describe |
|---|---|
| rdt_init_fs_context | |
| mm_init | |
| prepare_creds | prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
| prepare_kernel_cred | prepare_kernel_cred - Prepare a set of credentials for a kernel service*@daemon: A userspace daemon to be used as a reference* Prepare a set of credentials for a kernel service |
| cgroup_init_fs_context | Initialise the cgroup filesystem creation/reconfiguration context. Notably,* we select the namespace we're going to use. |
| cgroup_init | group_init - cgroup initialization* Register cgroup filesystem and /proc file, and initialize* any subsystems that didn't request early init. |
| copy_cgroup_ns | |
| clone_uts_ns | Clone a new ns copying an original utsname, setting refcount to 1*@old_ns: namespace to clone* Return ERR_PTR(-ENOMEM) on error (failure to allocate), new ns otherwise |
| userns_get | |
| userns_install | |
| ns_get_owner | |
| create_pid_namespace | |
| mqueue_init_fs_context | |
| mq_create_mount | |
| do_mq_notify | Notes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX. |
| create_ipc_ns | |
| key_change_session_keyring | Replace a process's session keyring on behalf of one of its children when* the target process is about to resume userspace execution. |
| alloc_super | alloc_super - create new superblock*@type: filesystem type superblock should belong to*@flags: the mount flags*@user_ns: User namespace for the super_block* Allocates and initializes a new &struct super_block. alloc_super() |
| would_dump | |
| alloc_mnt_ns | |
| alloc_fs_context | alloc_fs_context - Create a filesystem context.*@fs_type: The filesystem type.*@reference: The dentry from which this one derives (or NULL)*@sb_flags: Filesystem/superblock flags (SB_*)*@sb_flags_mask: Applicable members of @sb_flags |
| vfs_dup_fs_context | vfs_dup_fc_config: Duplicate a filesystem context.*@src_fc: The context to copy. |
| 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 |