Share master fd with tdm backend and open fd if it needed