secpol_type_id()

Updated: April 19, 2023

Return the type ID of the process

Synopsis:

#include <secpol/secpol.h>
uint32_t secpol_type_id(void)

Library:

libsecpol

Description:

The type ID that the secpol_type_id() function returns is accurate only if the process does not call procmgr_set_type_id() and instead makes any type changes by calling secpol_transition_type().

Returns:

Type ID of the process.