Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

IMA_RegisterForObjectVisibilityChanges (3IMA)

Name

IMA_RegisterForObjectVisibilityChanges - Registers a client function to be called whenever a high level object appears or disappears

Synopsis

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

IMA_STATUS IMA_RegisterForObjectVisibilityChanges (
      /* in */      IMA_OBJECT_VISIBILITY_FN pClientFn
);

Parameters

pClientFn

A pointer to an IMA_OBJECT_VISIBILITY_FN() function defined by the client. If successfully returned, this function is called to inform the client of objects whose visibility has changed.

Description

The IMA_RegisterForObjectVisibilityChanges() API registers a client function to be called whenever a high level object appears or disappears.

Return Values

IMA_ERROR_INVALID_PARAMETER

Returned if the pClientFn argument is NULL, or specifies a memory area that is not executable

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_DeregisterForObjectVisibilityChanges(3IMA)