diff --git a/agent/processsecurity/unix.go b/agent/processsecurity/unix.go index 45a8e62..71cf416 100644 --- a/agent/processsecurity/unix.go +++ b/agent/processsecurity/unix.go @@ -6,11 +6,11 @@ import ( "time" "github.com/godbus/dbus/v5" + "golang.org/x/sys/unix" ) func DisableDumpable() error { - // return unix.Prctl(unix.PR_SET_DUMPABLE, 0, 0, 0, 0) - return nil + return unix.Prctl(unix.PR_SET_DUMPABLE, 0, 0, 0, 0) } func MonitorLocks(onlock func()) error {