The text c1522f0cceaa, as FreeBSD 11.1-RELEASE shipped it.
get process session
getsid(2) on FreeBSD now