函数逻辑报告 |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-27 20:58:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_write_revoke_subj - write() for /smack/revoke-subject*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 0
函数原型:static ssize_t smk_write_revoke_subj(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
const char __user * | buf | |
size_t | count | |
loff_t * | ppos |
2502 | 如果count恒等于0或count大于SMK_LONGLABEL则返回:负EINVAL |
2510 | 如果是错误则 |
2519 | rule_list等于access rules |
2520 | rule_lock等于lock for rules |
2522 | mutex_lock(rule_lock) |
2525 | smk_access等于0 |
2529 | out_cp : |
2530 | 释放内存 |
2531 | out_data : |
2532 | 释放内存 |
2534 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |