gunk-dev/the-valley

nodump_other.go

source535d69c9a69emain's published tip history
279 bytes
1//go:build !linux
2
3package main
4
5import "errors"
6
7// noCoreDump refuses outside Linux, where the publisher does not make its
8// process non-dumpable, so no link's secret is made there.
9func noCoreDump() error {
10 return errors.New("making the process non-dumpable needs Linux")
11}