The text 2246c46eed8b, as FreeBSD 6.4-RELEASE shipped it.
get process session
getsid(2) on FreeBSD now