The text 2755e86ae186, as FreeBSD 7.2-RELEASE shipped it.
get process session
getsid(2) on FreeBSD now