Sync mly(4) with FreeBSD.