函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uidgid.h Create Date:2022-07-27 06:40:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:from_kgid_munged

函数原型:static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid)

返回类型:gid_t

参数:

类型参数名称
struct user_namespace *to
kgid_tkgid
173  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.
174  如果(gid == (gid_t) - 1)则gid等于overflowgid
176  返回:gid
调用者
名称描述
sys_getgid
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).
keyctl_describe_keyReturn a description of a key to userspace
cp_old_statFor backward compatibility? Maybe this should be moved* into arch/i386 instead?
scm_recv
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