Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-28 05:40:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:task_session

Proto:static inline struct pid *task_session(struct task_struct *task)

Type:struct pid

Parameter:

TypeParameterName
struct task_struct *task
621  Return pids[PIDTYPE_SID]
Caller
NameDescribe
copy_processCreate a new 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