函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:50:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_task_kill - Smack check on signal delivery*@p: the task object*@info: unused*@sig: unused*@cred: identifies the cred to use in lieu of current's* Return 0 if write access is permitted
函数原型:static int smack_task_kill(struct task_struct *p, struct kernel_siginfo *info, int sig, const struct cred *cred)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
struct kernel_siginfo * | info | |
int | sig | |
const struct cred * | cred |
2186 | tkp等于smk_of_task_struct(p) |
2189 | 如果非sig则返回:0 |
2193 | smk_ad_setfield_u_tsk( & ad, p) |
2198 | 如果(cred == NULL)则 |
2200 | rc等于smk_bu_task(p, Signal delivery requires write , rc) |
2201 | 返回:rc |
2209 | rc等于smk_access(skp, tkp, Signal delivery requires write , & ad) |
2210 | rc等于smk_bu_note("USB signal", skp, tkp, Signal delivery requires write , rc) |
2211 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |