函数逻辑报告 |
Source Code:security\selinux\ibpkey.c |
Create Date:2022-07-27 20:41:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_ib_pkey_insert - Insert a new pkey into the table*@pkey: the new pkey record* Description:* Add a new pkey record to the hash table.
函数原型:static void sel_ib_pkey_insert(struct sel_ib_pkey *pkey)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct sel_ib_pkey * | pkey |
| 101 | idx等于sel_ib_pkey_hashfn - Hashing function for the pkey table*@pkey: pkey number* Description:* This is the hashing function for the pkey table, it returns the bucket* number for the given pkey. |
| 102 | 添加RCU保护项 |
| 103 | 如果size恒等于SEL_PKEY_HASH_BKT_LIMIT则 |
| 111 | 删除不需要重新初始化的列表项 |
| 113 | 否则 |
| 114 | size自加 |
| 名称 | 描述 |
|---|---|
| sel_ib_pkey_sid_slow | sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy*@subnet_prefix: subnet prefix*@pkey_num: pkey number*@sid: pkey SID* Description:* This function determines the SID of a pkey by querying the security* policy |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |