From b7b116c566a78392fcb13e8793e4774f54425364 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 28 Dec 2023 01:12:59 +0100 Subject: [PATCH] Re-enable process security --- agent/processsecurity/unix.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/agent/processsecurity/unix.go b/agent/processsecurity/unix.go index 45a8e62..63d9dcf 100644 --- a/agent/processsecurity/unix.go +++ b/agent/processsecurity/unix.go @@ -6,11 +6,12 @@ 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) + // return nil } func MonitorLocks(onlock func()) error {