secpolev_get_pid()

Get the process ID associated with an event

Synopsis:

#include <secpol/secpolev.h>
pid_t secpolev_get_pid(void)

Library:

libsecpolev

Description:

Return the process ID (PID) of the process that is associated with the last event received.

Returns:

The PID, or 0 if there is no current event.

Page updated: