| 函数逻辑报告 | 
| Source Code: kernel\auditfilter.c | Create Date:2022-07-27 12:28:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:update_lsm_rule
函数原型:static int update_lsm_rule(struct audit_krule *r)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct audit_krule * | r | 
| 1397 | err等于0 | 
| 1399 | 如果非security_audit_rule_known(r)则返回:0 | 
| 1403 | 如果exe则 | 
| 1405 | 如果是错误则 | 
| 1409 | audit_panic("error updating LSM filters") | 
| 1410 | 如果 associated watch 则删除链表项 | 
| 1412 | 删除不需要重新初始化的列表项 | 
| 1413 | 删除链表项 | 
| 1414 | 否则 | 
| 1415 | 如果 associated watch 或 associated watched tree 则list_replace_init( & entry in audit_{watch,tree}.rules list , & entry in audit_{watch,tree}.rules list ) | 
| 1417 | 更新RCU锁项 | 
| 1418 | 更新链表项 | 
| 1422 | 返回:err | 
| 名称 | 描述 | 
|---|---|
| audit_update_lsm_rules | This function will re-initialize the lsm_rule field of all applicable rules | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |