函数逻辑报告

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_nr

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

返回类型:pid_t

参数:

类型参数名称
struct task_struct *tsk
1341  返回:线程组ID
调用者
名称描述
cgroup1_reconfigure
audit_log_common_recv_msg
audit_log_task_info
audit_log_set_loginuid
audit_signal_infoaudit_signal_info - record signal info for shutting down audit subsystem*@sig: signal value*@t: task being signaled* If the audit subsystem is being terminated, record the task (pid)* and uid that is doing that.
audit_filter_rulesCompare a task_struct with an audit_rule. Return 1 on match, 0* otherwise.* If task_creation is true, this is an explicit indication that we are* filtering a task rule at task creation time. This and tsk == current are
__audit_ptrace
audit_signal_info_syscallaudit_signal_info_syscall - record signal info for syscalls*@t: task being signaled* If the audit subsystem is being terminated, record the task (pid)* and uid that is doing that.
__audit_log_capset__audit_log_capset - store information about the arguments to the capset syscall*@new: the new credentials*@old: the old (current) credentials* Record the arguments userspace sent to sys_capset for later printing by the* audit system if applicable
audit_log_task
dump_common_audit_datadump_common_audit_data - helper to dump common audit data*@a : common audit data
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.
is_global_init检查进程已初始化