Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
grcevski committed Jan 14, 2025
1 parent 35616bb commit 9a20425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/internal/exec/procmaps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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)
}

return res
}

func procPSFromPath(path string) *procfs.ProcMap {
return &procfs.ProcMap{Pathname: path}
return &procfs.ProcMap{Pathname: path, Perms: &procfs.ProcMapPermissions{Execute: true}}
}

0 comments on commit 9a20425

Please sign in to comment.