函数逻辑报告 |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-27 20:36:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_write_create
函数原型:static ssize_t sel_write_create(struct file *file, char *buf, size_t size)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
char * | buf | |
size_t | size |
868 | char * newcon = NULL |
895 | nargs等于sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments |
898 | 如果nargs恒等于4则 |
929 | length等于security_context_str_to_sid(state, scon, & ssid, GFP_KERNEL) |
933 | length等于security_context_str_to_sid(state, tcon, & tsid, GFP_KERNEL) |
947 | 如果len大于SIMPLE_TRANSACTION_LIMIT则 |
955 | out : |
956 | 释放内存 |
957 | 释放内存 |
958 | 释放内存 |
959 | 释放内存 |
960 | 返回:length |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |