函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:48:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_copy_rules - copy a rule set*@nhead: new rules header pointer*@ohead: old rules header pointer*@gfp: type of the memory for the allocation* Returns 0 on success, -ENOMEM on error
函数原型:static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, gfp_t gfp)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct list_head * | nhead | |
| struct list_head * | ohead | |
| gfp_t | gfp |
| 352 | rc等于0 |
| 356 | 如果(nrp == NULL)则 |
| 361 | 添加RCU保护项 |
| 363 | 返回:rc |
| 名称 | 描述 |
|---|---|
| smack_cred_prepare | smack_cred_prepare - prepare new set of credentials for modification*@new: the new credentials*@old: the original credentials*@gfp: the atomicity of any memory allocations* Prepare a new set of credentials for modification. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |