Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-28 11:19:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid)

Type:uid_t

Parameter:

TypeParameterName
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  If (uid == (uid_t) - 1) Then 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  Return uid
Caller
NameDescribe
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