tailscale/atomicfile
James Tucker f4da995940 atomicfile: reject overwriting irregular files
The intent of atomicfile is to overwrite regular files. Most use cases
that would overwrite irregular files, unix sockets, named pipes,
devices, and so on are more than likely misuse, so disallow them.

Fixes #7658

Signed-off-by: James Tucker <james@tailscale.com>
2023-03-31 13:29:52 -07:00
..
atomicfile_test.go atomicfile: reject overwriting irregular files 2023-03-31 13:29:52 -07:00
atomicfile.go atomicfile: reject overwriting irregular files 2023-03-31 13:29:52 -07:00