Porting to FreeBSD, chapter 6: BSM support started