| Function report | 
| Source Code: security\selinux\selinuxfs.c | Create Date:2022-07-28 19:04:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sel_write_context
Proto:static ssize_t sel_write_context(struct file *file, char *buf, size_t size)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| char * | buf | |
| size_t | size | 
| 592 | char * canon = NULL | 
| 602 | length = security_context_to_sid(state, buf, size, & sid, GFP_KERNEL) | 
| 611 | If len > SIMPLE_TRANSACTION_LIMIT Then | 
| 619 | out : | 
| 621 | Return length | 
| 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 |