getsecsid(2)

getsecsid2

Get process security identifiers

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.

Conforming to

From libselinux-dev 2002031409-4 in Debian 3.0 (Woody). Parsed by carta from the page's man source.