Function report | 
Source Code:init\main.c | 
Create Date:2022-07-28 13:53:07 | 
| Last Modify:2022-05-23 13:07:03 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Change NUL term back to "=", to make "param" the whole string.
Proto:static int __init repair_env_string(char *param, char *val, const char *unused, void *arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | param | |
| char * | val | |
| const char * | unused | |
| void * | arg | 
| 252 | If val Then | 
| 254 | If val == param + strlen - Find the length of a string*@s: The string to be sized + 1 Then val[ - 1] = '=' | 
| 256 | Else if val == param + strlen - Find the length of a string*@s: The string to be sized + 2 Then | 
| 260 | Else BUG() | 
| 263 | Return 0 | 
| Name | Describe | 
|---|---|
| set_init_arg | Anything after -- gets handed straight to init. | 
| unknown_bootoption | Unknown boot options get handed to init, unless they look like* unused parameters (modprobe will find them in /proc/cmdline). | 
| 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  |