Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-28 11:19:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid)

Type:gid_t

Parameter:

TypeParameterName
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  If (gid == (gid_t) - 1) Then gid = overflowgid
504  Return gid
Caller
NameDescribe
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