The text 6241f8b289d5, as FreeBSD 8.1-RELEASE shipped it.
create session and set process group ID
setsid(2) on FreeBSD now