Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:from_kuid_munged

Proto:static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid)

Type:uid_t

Parameter:

TypeParameterName
struct user_namespace *to
kuid_tkuid
165  uid = m_kuid - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.
166  If (uid == (uid_t) - 1) Then uid = This is the "overflow" UID and GID. They are used to signify uid/gid* overflow to old programs when they request uid/gid information but are* using the old 16 bit interfaces.* When you run a libc5 program, it will think that all highuid files or
168  Return uid
Caller
NameDescribe
do_sys_vm86
wait_task_zombieHandle sys_wait4 work for one task in state EXIT_ZOMBIE. We hold* read_lock(&tasklist_lock) on entry. If we return zero, we still hold* the lock and this task is uninteresting. If we return nonzero, we have
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?