NAME
getsecsid, getosecsid - get process security identifiers
SYNOPSIS
#include <proc_secure.h>
security_id_t getsecsid(void);
security_id_t getosecsid(void);
DESCRIPTION
getsecsid returns the security identifier (SID) of the current process.
getosecsid returns the security identifier (SID) that the current process had prior to the last call to execve or execve_secure.