Initial commit

This commit is contained in:
2026-09-12 23:26:07 +02:00
commit a180fe4b52
35 changed files with 4921 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build unix
package main
import "syscall"
// setUmask makes the process's default permissions match what the data
// directory is documented to use: group-writable, world-readable. The token
// file overrides this explicitly, since it is the one thing that is secret.
func setUmask() { syscall.Umask(0o002) }