[3/6] fd passing: use fd directly without opening it