Skip to content

Commit

Permalink
Re-enable dumping prevention
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Dec 28, 2023
1 parent 2c3c0c6 commit 295318d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/processsecurity/unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 295318d

Please sign in to comment.