Function report |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-28 19:29:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static ssize_t smk_read_syslog(struct file *filp, char __user *buf, size_t cn, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
char __user * | buf | |
size_t | cn | |
loff_t * | ppos |
2596 | If ppos != 0 Then Return 0 |
2599 | If (If this value is set restrict syslog use to the label specified.* It can be reset via smackfs/syslog == NULL) Then skp = smack_known_star |
2601 | Else skp = If this value is set restrict syslog use to the label specified.* It can be reset via smackfs/syslog |
2610 | Return rc |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |