函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-27 12:21:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:m_kgid_munged - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid.

函数原型:gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid)

返回类型:gid_t

参数:

类型参数名称
struct user_namespace *targ
kgid_tkgid
500  gid等于m_kgid - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid.
502  如果(gid == (gid_t) - 1)则gid等于overflowgid
504  返回:gid
调用者
名称描述
sys_getegid
groups_to_userxport the group_info to a user-space array
SYSCALL_DEFINE3
groups16_to_user
sys_getgid16
sys_getegid16
do_acct_process
bacct_add_tskll in basic accounting fields
kernel_to_ipc64_permkernel_to_ipc64_perm - convert kernel ipc permissions to user*@in: kernel permissions*@out: new style ipc permissions* Turn the kernel object @in into a set of permissions descriptions* for returning to userspace (@out).
sysvipc_msg_proc_show
sysvipc_sem_proc_show
sysvipc_shm_proc_show
proc_keys_show
cp_new_stat
cp_new_stat64
cp_statx
cp_compat_stat
create_elf_tables
create_elf_fdpic_tablespresent useful information to the program by shovelling it onto the new* process's stack
from_kqid_mungedm_kqid_munged - Create a qid from a kqid user-namespace pair.*@targ: The user namespace we want a qid in.*@kqid: The kernel internal quota identifier to start with.* Map @kqid into the user-namespace specified by @targ and* return the resulting qid.
devpts_show_options