jail(2) now returns the jail id if successful or -1 on error.