bastion 0.53.2
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m4s
ci / fuzz (push) Successful in 3m45s

This commit is contained in:
Privatae
2026-10-20 04:42:14 +00:00
commit e4c9b69b46
471 changed files with 159794 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
//go:build !linux && !windows
package main
import "os"
// stdinIsTerminal on platforms with no singleton in step 1. False is the safe
// answer: it selects the WAITING branch, which is the service's behaviour, and
// acquireSingletonLock returns early on these platforms anyway (singleton.go).
func stdinIsTerminal() bool { return false }
// ownerUID — not determinable portably; the singleton is Linux-only in step 1,
// and acquireSingletonLock returns before this on those platforms anyway.
func ownerUID(fi os.FileInfo) (uint32, bool) { return 0, false }