Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

IMA_GetSharedNodeOid (3IMA)

Name

IMA_GetSharedNodeOid - Gets the object ID of the shared node of the currently executing operating system image

Synopsis

cc [ flag... ] file... -lima [ library... ]
#include <ima.h>

IMA_STATUS IMA_GetSharedNodeOid(
/* out */    IMA_OID *pSharedNodeOid
);

Parameters

pSharedNodeOid

A pointer to an IMA_OID data structure allocated by the caller. If returned successfully, this data structure contains the object ID of the shared node of the currently executing system.

Description

The IMA_GetSharedNodeOid() API gets the object ID of the shared node of the currently executing operating system image.

Return Values

IMA_ERROR_INVALID_PARAMETER

Returned if the pSharedNodeOid argument is NULL, or specifies a memory area to which data cannot be written

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/storage/snia-ima
Interface Stability
Volatile
MT-Level
Safe

See Also

libima(3LIB), attributes(7), IMA_GetNonSharedNodeOidList(3IMA), IMA_GetNodeProperties(3IMA)