函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:task_session

函数原型:static inline struct pid *task_session(struct task_struct *task)

返回类型:struct pid

参数:

类型参数名称
struct task_struct *task
621  返回:pids[进程集]
调用者
名称描述
copy_process创建进程
will_become_orphaned_pgrpDetermine if a process group is "orphaned", according to the POSIX* definition in 2
kill_orphaned_pgrpCheck to see if any process groups have become orphaned as* a result of our exiting, and if they have any stopped jobs,* send them a SIGHUP and then a SIGCONT. (POSIX 3.2.2.2)
check_kill_permissionBad permissions for sending the signal* - the caller must hold the RCU read lock
SYSCALL_DEFINE2This needs some heavy checking
SYSCALL_DEFINE1
set_special_pids