IMA_SetNodeAlias - Sets the alias of a specified node
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetNodeAlias /* in */ IMA_OID nodeOid, /* in */ const IMA_NODE_ALIAS newAlias );
The object ID of the node whose alias is being set.
A pointer to the Unicode string that contains the new node alias. If this parameter is NULL, then the current alias is deleted, and the specified node no longer has an alias.
The IMA_SetNodeAlias() API sets the alias of a specified node.
Returned if a reboot is necessary before the setting of the alias takes effect
Returned if the newAlias argument is NULL, or specifies a memory area from which data cannot be read
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 newAlias argument contains more than 255 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_GetNodeProperties(3IMA), IMA_SetNodeName(3IMA)