use Brew:
brew install util-linux
Yes. /usr/bin/setsid is missing on Mac OS/X.
/usr/bin/setsid
The OS interface is available, so based on the chapter 2 man page there may be some hope for porting the Linux source to Darwin.