函数逻辑报告 |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-27 20:58:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_read_syslog - read() for smackfs/syslog*@filp: file pointer, not actually used*@buf: where to put the result*@cn: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
函数原型:static ssize_t smk_read_syslog(struct file *filp, char __user *buf, size_t cn, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
char __user * | buf | |
size_t | cn | |
loff_t * | ppos |
2596 | 如果ppos不等于0则返回:0 |
2599 | 如果(If this value is set restrict syslog use to the label specified.* It can be reset via smackfs/syslog == NULL)则skp等于smack_known_star |
2601 | 否则skp等于If this value is set restrict syslog use to the label specified.* It can be reset via smackfs/syslog |
2610 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |