> Checks like the one you introduce here suffer from TOCTOU. I don't see that. It is not a stat, it is an fstat. The descriptor opened early, remains the same type through the whole operation.
- opendev(3) tweak Marc Espie
- Re: opendev(3) tweak Mark Kettenis
- Re: opendev(3) tweak Theo de Raadt
- Re: opendev(3) tweak Theo de Raadt
- Re: opendev(3) tweak Marc Espie
- Re: opendev(3) tweak Theo de Raadt
- Re: opendev(3) tweak Theo Buehler
- Re: opendev(3) tweak Marc Espie
- Re: opendev(3) tweak Theo de Raadt
- Re: opendev(3) tweak Theo Buehler
- Re: opendev(3) tweak Sebastien Marie
- Re: opendev(3) tweak Alexander Hall
- Re: opendev(3) tweak Theo de Raadt
