Skip to content

Commit

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

0 comments on commit b7b116c

Please sign in to comment.