carta

sd_pid_get_unit(3) on Linux

The text 1a167c0ed9a4, as Debian 10 (Buster) shipped it.

Determine the owner uid of the user unit or session, or the session, user unit, system unit, container/VM or slice that a specific PID or socket peer belongs to.

sd_pid_get_unit(3) on Linux now