Function Report

Linux Kernel (v4.4)

Source File:include\linux\sched.h Create Date:2016-01-14 09:13:26
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:task_session

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

Return Type:static inline struct pid *


Type Parameter NameRemarks
struct task_struct * task

Function description:

1892  Returning pid
Function NameFunction description
copy_processCreate a new process
will_become_orphaned_pgrpDetermine if a process group is"orphaned", according to the POSIX definition in Orphaned process groups are not to be affected by terminal-generated stop signals. Newly orphaned process groups are to receive a SIGHUP and a SIGCONT.
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
check_kill_permissionBad permissions for sending the signal- the caller must hold the RCU read lock