Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

IMA_PersistHbaParameters (3IMA)

Name

IMA_PersistHbaParameters - Persists parameters applied through IMA set operations.

Synopsis

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

IMA_STATUS IMA_PersjstHbaParameters(
      /* in */    IMA_OID oid
);

Parameters

hbaOid

The object ID of the physical host bus adapter (PHBA) or logical host bus adapter (LHBA) whose settings are persisted.

Description

The IMA_PersistHbaParameters() API persists parameters applied through IMA set operations.

Return Values

IMA_ERROR_NOT_SUPPORTED

Returned if this API is not supported by the specified PHBA or LHBA

IMA_ERROR_INVALID_OBJECT_TYPE

Returned if the phbaOid argument does not specify a valid object type

IMA_ERROR_INCORRECT_OBJECT_TYPE

Returned if the phbaOid argument does not specify a PHBA object

IMA_ERROR_OBJECT_NOT_FOUND

Returned if the phbaOid argument does not specify a PHBA known to the system

IMA_STATUS_REBOOT_NECESSARY

Returned if a reboot is necessary for the settings to be made persistent

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)