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