CfgMgr::CleanStartConfig

Description

Clears the data of the specified startup description file (version number).

Prototype

uint32_t CfgMgr::CleanStartConfig(const std::string &startConfig)

Function Security Level

ASIL-D

Parameters

Parameter

Input/Output

Description

startConfig

Input

Startup description file (version number)

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

Data of the version in use cannot be cleared (false is returned during clearance).