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