routine file_reparent (
    file: file_t;
    RPT
    parent: mach_port_t;
    out new_file: mach_port_send_t);

Return a new file, new_file, with the same semantics as file, but with lookups of .. (if file is a directory) redirected to parent.