freecon(3) on Linux
The text 25c08b6eeda9, as Debian 7 (Wheezy) shipped it.
get SELinux security context of a process. freecon, freeconary - free memory associated with SELinux security contexts. getpeercon - get security context of a peer socket. setcon - set current security context of a process.