Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uidgid.h Create Date:2022-07-28 05:38:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:from_kgid_munged

Proto:static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid)

Type:gid_t

Parameter:

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