cf65eedbaf
Additionally, this adds the `SYMLOOP_MAX` constant in `limits.h` to replace the `MAX_LEVEL` magic number used during symlink resolution. `fstat` was kept because it is more difficult than the others to do a drop-in replacement in terms of `fstatat` for since a naive approach would cause mutual recursion.