diff --git a/pkg/process/process.go b/pkg/process/process.go index f03c933c..a74e1e37 100644 --- a/pkg/process/process.go +++ b/pkg/process/process.go @@ -19,14 +19,18 @@ import ( "context" "errors" "fmt" + "io" "os" "os/exec" + "os/user" "path/filepath" "regexp" + "strconv" "github.com/go-logr/logr" "golang.org/x/sys/unix" + "github.com/falcosecurity/event-generator/pkg/capability" "github.com/falcosecurity/event-generator/pkg/random" ) @@ -38,10 +42,18 @@ type Process struct { // simExePath is the "simulated" executable path. This sets the executable path accessible through // `readlink -f /proc/