add shared fd