函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:16:05 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__kill_pgrp_info() sends a signal to a process group: this is what the tty* control characters do (^C, ^Z etc)* - the caller must hold at least a readlock on tasklist_lock
函数原型:int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | sig | |
struct kernel_siginfo * | info | |
struct pid * | pgrp |
1420 | struct task_struct * p = NULL |
1423 | success等于0 |
1425 | 循环 |
1425 | typeof(({typeof(( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first))))________p1 = ({union{typeof(( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first))))__val;char __c[1];}__u;if (1)__read_once_size( & (( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first)))));否则 __read_once_size_nocheck( & (( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first)))));循环{}while (0);__u.__val;});((typeof( * ( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first)))) * )(________p1));}))____ptr = (({ |
1425 | typeof(( * ((struct hlist_node * * )( & ( & (pgrp)->进程属性列[进程组])->first))))________p1 = ({ |
1425 | union{typeof(( * ((structhlist_node * * )( & first)))) __val;char __c[1];}__u |
1425 | 如果1则__read_once_size( & (( * ((structhlist_node * * )( & first)))), __c, *first的长度) |
1425 | 否则__read_once_size_nocheck( & (( * ((structhlist_node * * )( & first)))), __c, *first的长度) |
1425 | 循环 |
1425 | 当0循环 |
1425 | __val |
1425 | }) |
1425 | })) |
1425 | ____ptr ? ({ |
1425 | }) : NULL |
1425 | typeof(({typeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next))))________p1 = ({union{typeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next))))__val;char __c[1];}__u;if (1)__read_once_size( & (( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next)))));否则 __read_once_size_nocheck( & (( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next)))));循环{}while (0);__u.__val;});((typeof( * ( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next)))) * )(________p1));}))____ptr = (({ |
1425 | typeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[进程组])->next))))________p1 = ({ |
1425 | union{typeof(( * ((structhlist_node * * )( & next)))) __val;char __c[1];}__u |
1425 | 如果1则__read_once_size( & (( * ((structhlist_node * * )( & next)))), __c, *next的长度) |
1425 | 否则__read_once_size_nocheck( & (( * ((structhlist_node * * )( & next)))), __c, *next的长度) |
1425 | 循环 |
1425 | 当0循环 |
1425 | __val |
1425 | }) |
1425 | })) |
1425 | ____ptr ? ({ |
1425 | }) : NULL |
1425 | })) |
1429 | 当0循环 |
名称 | 描述 |
---|---|
kill_orphaned_pgrp | Check 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) |
kill_something_info | kill_something_info() interprets pid in interesting ways just like kill(2).* POSIX specifies that kill(-1,sig) is unspecified, but what we have* is probably wrong. Should make it like BSD or SYSV. |
kill_pgrp |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |