The text 31218bbc7d51, as FreeBSD 11.0-RELEASE shipped it.
get process session
getsid(2) on FreeBSD now