函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sys.c Create Date:2022-07-27 10:20:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_special_pids

函数原型:static void set_special_pids(struct pid *pid)

返回类型:void

参数:

类型参数名称
struct pid *pid
1149  curr等于group_leader
1151  如果task_session(curr)不等于pidchange_pid(curr, 进程集, pid)
1154  如果Without tasklist or RCU lock it is not safe to dereference* the result of task_pgrp/task_session even if task == current,* we can race with another thread doing sys_setsid/sys_setpgid.不等于pidchange_pid(curr, 进程组, pid)
调用者
名称描述
ksys_setsid