函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:32
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_tgid_vnr

函数原型:static inline pid_t task_tgid_vnr(struct task_struct *tsk)

返回类型:pid_t

参数:

类型参数名称
struct task_struct *tsk
1387  返回:__task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL)
调用者
名称描述
prepare_kill_siginfo
do_send_specific
do_tkill
sys_getpid
sys_getppid
pidlist_array_loadLoad a cgroup's pidarray with either procs' tgids or tasks' pids
format_corenamermat_corename will inspect the pattern parameter, and output a* name into corename, which must have space for at least* CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.
do_coredump
tomoyo_sys_getppidmoyo_sys_getppid - Copy of getppid().* Returns parent process's PID.* Alpha does not have getppid() defined. To be able to build this module on* Alpha, I have to copy getppid() from kernel/timer.c.
tomoyo_sys_getpidmoyo_sys_getpid - Copy of getpid().* Returns current thread's PID.* Alpha does not have getpid() defined. To be able to build this module on* Alpha, I have to copy getpid() from kernel/timer.c.