mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-18 08:02:10 +03:00
Re-enable process security
This commit is contained in:
parent
cff906922a
commit
b7b116c566
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user