Function report |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-28 19:28:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_user_access - handle access check transaction*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 0
Proto:static ssize_t smk_user_access(struct file *file, const char __user *buf, size_t count, loff_t *ppos, int format)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| const char __user * | buf | |
| size_t | count | |
| loff_t * | ppos | |
| int | format |
| 2265 | data = simple_transaction_get(file, buf, count) |
| 2269 | If format == Fixed 24byte label format Then |
| 2270 | If count < SMK_LOADLEN Then Return -EINVAL |
| 2273 | Else |
| 2290 | data[1] = '\0' |
| 2292 | simple_transaction_set(file, 2) |
| 2294 | If format == Fixed 24byte label format Then Return SMK_LOADLEN |
| 2296 | Return count |
| Name | Describe |
|---|---|
| smk_write_access | smk_write_access - handle access check transaction*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 0 |
| smk_write_access2 | smk_write_access2 - handle access check transaction*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 0 |
| 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 |