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