IMA_SetNodeName - Sets a new name for a specified node
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetNodeName( /* in */ IMA_OID nodeOid, /* in */ const IMA_NODE_NAME newName );
The object ID of the node whose name is being set
The new name of the specified node
The IMA_SetNodeName() API sets a new name for a specified node.
Returned if a reboot is necessary before the setting of the name takes effect
Returned if the newName argument is NULL, or specifies a memory area from which data cannot be read, or has a length of 0
Returned if the nodeOid argument does not specify a valid object type
Returned if the nodeOid argument does not specify a node object
Returned if the nodeOid argument does not specify a node known to the system
Returned if the newName argument contains more than 223 bytes when encoded in the UTF-8 format
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetSharedNodeOid(3IMA), IMA_GetNonSharedNodeOidList(3IMA), IMA_GetNodeProperties(3IMA), IMA_SetNodeAlias(3IMA)