I seriously doubt that the code from FreeBSD would be a good fit for Linux; you almost never
hear of major programs borrowing much deep code from each other. Generalizing the concept of
jails like Linux has done is interesting, and it may or not be useful. I would suspect you
could write a API-compatible implementation of BSD's jail in userspace pretty easily using
this, which is really the important thing.