函数逻辑报告 |
Source Code:security\selinux\xfrm.c |
Create Date:2022-07-27 20:46:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:LSM hook implementation that copies security data structure from old to new* for policy cloning.
函数原型:int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xfrm_sec_ctx * | old_ctx | |
struct xfrm_sec_ctx ** | new_ctxp |
300 | 如果非old_ctx则返回:0 |
303 | new_ctx等于kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error |
307 | atomic_inc( & Labeled XFRM instance counter ) |
310 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |