From 9a20425d19198442a81cae35f349d17f98cf8704 Mon Sep 17 00:00:00 2001 From: Nikola Grcevski Date: Tue, 14 Jan 2025 10:51:36 -0500 Subject: [PATCH] Fix test --- pkg/internal/exec/procmaps_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/internal/exec/procmaps_test.go b/pkg/internal/exec/procmaps_test.go index abaf4dc5d..172564574 100644 --- a/pkg/internal/exec/procmaps_test.go +++ b/pkg/internal/exec/procmaps_test.go @@ -24,7 +24,7 @@ func makeProcFSMaps(paths []string) []*procfs.ProcMap { res := []*procfs.ProcMap{} for _, path := range paths { - p := procfs.ProcMap{Pathname: path} + p := procfs.ProcMap{Pathname: path, Perms: &procfs.ProcMapPermissions{Execute: true}} res = append(res, &p) } @@ -32,5 +32,5 @@ func makeProcFSMaps(paths []string) []*procfs.ProcMap { } func procPSFromPath(path string) *procfs.ProcMap { - return &procfs.ProcMap{Pathname: path} + return &procfs.ProcMap{Pathname: path, Perms: &procfs.ProcMapPermissions{Execute: true}} }