CfgMgr::SetNextStartConfig
Description
Sets the startup reference description file (merge tag).
Prototype
uint32_t CfgMgr::SetNextStartConfig(const std::string &nextStartConfig)
Function Security Level
ASIL-D
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
nextStartConfig |
Input |
Startup reference description file (merge tag). |
Returns
The return value is of the uint32_t type. If the operation is successful, CFGMGR_SUCCESS is returned. If the operation fails, an error code is returned.
Usage
After SELinux permission control is enabled, non-privileged processes can be called only after the read and write permissions on dp:/res/cfgmgr/mgmt are configured.
Precautions
- If you set this parameter for multiple times, the setting will be overwritten.
- The setting takes effect only once.
- The value cannot be null.
Parent topic: Configuration Management