feat: build wahrwelt A/D toolkit

This commit is contained in:
TakuyaYagam1 committed 2026-10-14 11:30:41 +03:00
1 parent 303438d206
commit 653924d8c6
564 files changed
+36310 -49998

No files matched your search

@@ -0,0 +1,11 @@
//go:build linux
package client
import "golang.org/x/sys/unix"
// HardenProcess не дает заданиям с тем же UID читать память и окружение
// worker через /proc, сохраняя возможность запускать дочерние процессы.
func HardenProcess() error {
return unix.Prctl(unix.PR_SET_DUMPABLE, 0, 0, 0, 0)
}