The text be0d08720e4b, as FreeBSD 8.1-RELEASE shipped it.
set real and effective group ID
setregid(2) on FreeBSD now