Function report |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-28 19:05:55 |
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_bool
Proto:static ssize_t sel_write_bool(struct file *filep, const char __user *buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filep | |
const char __user * | buf | |
size_t | count | |
loff_t * | ppos |
1209 | char * page = NULL |
1222 | page = memdup_user_nul - duplicate memory region from user space and NUL-terminate*@src: source address in user space*@len: number of bytes to copy* Return: an ERR_PTR() on failure. |
1226 | mutex_lock( & mutex) |
1241 | If sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments != 1 Then Go to out |
1247 | bool_pending_values[index] = new_value |
1250 | out : |
1253 | 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 |