goldwarden-vaultwarden-bitw.../agent/processsecurity/unix.go

10 lines
172 B
Go
Raw Normal View History

2023-08-24 03:22:03 +02:00
//go:build linux || freebsd
package processsecurity
import "golang.org/x/sys/unix"
func DisableDumpable() error {
return unix.Prctl(unix.PR_SET_DUMPABLE, 0, 0, 0, 0)
}