Re-enable process security

This commit is contained in:
Bernd Schoolmann 2023-12-28 01:12:59 +01:00
parent cff906922a
commit b7b116c566
No known key found for this signature in database

View file

@ -6,11 +6,12 @@ import (
"time" "time"
"github.com/godbus/dbus/v5" "github.com/godbus/dbus/v5"
"golang.org/x/sys/unix"
) )
func DisableDumpable() error { func DisableDumpable() error {
// return unix.Prctl(unix.PR_SET_DUMPABLE, 0, 0, 0, 0) return unix.Prctl(unix.PR_SET_DUMPABLE, 0, 0, 0, 0)
return nil // return nil
} }
func MonitorLocks(onlock func()) error { func MonitorLocks(onlock func()) error {