函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:26:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:show_sid
函数原型:static int show_sid(struct seq_file *m, unsigned int sid)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
unsigned int | sid |
1078 | char * context = NULL |
1082 | rc等于security_sid_to_context( & selinux_state, sid, & context, & len) |
1084 | 如果非rc则 |
1085 | has_comma等于context且strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
1090 | seq_escape(m, context, "\"\n\\") |
1094 | 释放内存 |
1095 | 返回:rc |
名称 | 描述 |
---|---|
selinux_sb_show_options |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |