函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:from_kuid_munged

函数原型:static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid)

返回类型:uid_t

参数:

类型参数名称
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  如果(uid == (uid_t) - 1)则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  返回:uid
调用者
名称描述
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?
scm_recv
wait_task_stoppedwait_task_stopped - Wait for %TASK_STOPPED or %TASK_TRACED*@wo: wait options*@ptrace: is the wait for ptrace*@p: task to wait for* Handle sys_wait4() work for %p in state %TASK_STOPPED or %TASK_TRACED
wait_task_continuedHandle do_wait work for one task in a live, non-stopped state.* 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
__send_signal
send_signal
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
do_notify_parent_cldstopdo_notify_parent_cldstop - notify parent of stopped/continued state change*@tsk: task reporting the state change*@for_ptracer: the notification is for ptracer*@why: CLD_{CONTINUED|STOPPED|TRAPPED} to report
ptrace_do_notify
ptrace_signal
prepare_kill_siginfo
do_tkill
sys_getuid
sys_geteuid
SYSCALL_DEFINE3
sys_getuid16
sys_geteuid16
do_acct_process