getosecsid2
Get process security identifiers
Part of getsecsid(2).
Usage
#include <proc_secure.h>
security_id_t getsecsid(void);
security_id_t getosecsid(void);
Overview
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.