Some patches sent to the FreeBSD project