函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-27 12:21:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:m_kuid_munged - 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.

函数原型:uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid)

返回类型:uid_t

参数:

类型参数名称
struct user_namespace *targ
kuid_tkuid
433  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.
435  如果(uid == (uid_t) - 1)则uid等于his is where the system-wide overflow UID and GID are defined, for* architectures that now have 32-bit UID/GID but didn't in the past
437  返回:uid
调用者
名称描述
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
bacct_add_tskll in basic accounting fields
print_trace_header
bpf_prog_get_info_by_fd
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
__do_notifyThe next function is only to split too long sys_mq_timedsend
proc_keys_show
proc_key_users_show
cp_new_stat
cp_new_stat64
cp_statx
cp_compat_stat
ns_ioctl
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.
quota_send_warningquota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier
devpts_show_options