函数逻辑报告 |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-27 20:56:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_net4addr_insert*@new : netlabel to insert* This helper insert netlabel in the smack_net4addrs list* sorted by netmask length (longest to smallest)* locked by &smk_net4addr_lock in smk_write_net4addr
函数原型:static void smk_net4addr_insert(struct smk_net4addr *new)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct smk_net4addr * | new |
1083 | 如果链表为空则 |
1084 | 添加RCU保护项 |
1085 | 返回 |
1088 | m等于list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(链表后项, structsmk_net4addr, list) |
1093 | 添加RCU保护项 |
1094 | 返回 |
1098 | 如果检查是否为链表尾则 |
1099 | 添加RCU保护项 |
1100 | 返回 |
1102 | m_next等于list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(链表后项, structsmk_net4addr, list) |
1105 | 添加RCU保护项 |
1106 | 返回 |
名称 | 描述 |
---|---|
smk_write_net4addr | smk_write_net4addr - write() for /smack/netlabel*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start* Accepts only one net4addr per write call |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |