Reference

sd_bus_creds_get_pid(3) on Linux

The text 3c9f53788cb8, as Debian 12 (Bookworm) shipped it.

Retrieve fields from a credentials object

sd_bus_creds_get_pid(3) on Linux now