Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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] = '='
257  val[ - 2] = '='
259  val--
260  Else BUG()
263  Return 0
Caller
NameDescribe
set_init_argAnything after -- gets handed straight to init.
unknown_bootoptionUnknown boot options get handed to init, unless they look like* unused parameters (modprobe will find them in /proc/cmdline).