The file generation number, st_gen, is only available to the super-user.
I don't know if that applies to the *BSD releases. I don't know how much of a problem that is for the proposed TZ code.
On Oct 5, 2025, at 5:20 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> macOS also checks struct stat's st_gen, which is easy and seems like a good idea on platforms that have st_gen.
So all the 4.4-Lite derivatives, i.e. (Free,Net,Open,DragonFly}BSD as well as Darwin, and maybe others.