函数逻辑报告 |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-27 20:37:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_commit_bools_write
函数原型:static ssize_t sel_commit_bools_write(struct file *filep, const char __user *buf, size_t count, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filep | |
const char __user * | buf | |
size_t | count | |
loff_t * | ppos |
1267 | char * page = NULL |
1278 | page等于memdup_user_nul - duplicate memory region from user space and NUL-terminate*@src: source address in user space*@len: number of bytes to copy* Return: an ERR_PTR() on failure. |
1282 | mutex_lock( & mutex) |
1292 | 如果sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments不等于1则转到:out |
1295 | length等于0 |
1296 | 如果new_value且bool_pending_values则length等于security_set_bools(state, bool_num, bool_pending_values) |
1303 | out : |
1305 | 释放内存 |
1306 | 返回:length |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |