Expand stat/lstat/fstat fallback logic on Linux to all signatures.