diff options
author | NRK <nrk@disroot.org> | 2023-01-28 21:34:29 +0600 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2023-01-28 16:19:33 -0500 |
commit | eb3635dd1f3f5ff9e0bdf7ec4bf14c78cbc4a015 (patch) | |
tree | 4619b681b612bdaafa202aedfaef1fdd06e55954 /src/seedrng | |
parent | 459783bbad912e5eda6533959c09b94db1d385d1 (diff) |
swclock: fix codeql warning and upgrade to futimens
this was reported by codeql's scan as a TOCTOU bug. while that's true in
theory, i don't believe it would've had any practical effect.
a better justification for this change might be the fact that it
upgrades from `utime` (which is depreciated by POSIX [0]) to `futimens`.
[0]: https://www.man7.org/linux/man-pages/man3/utime.3p.html#FUTURE_DIRECTIONS
Diffstat (limited to 'src/seedrng')
0 files changed, 0 insertions, 0 deletions