Skip to content

Commit

Permalink
Update procmon_linux.go
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed Oct 6, 2023
1 parent f5371e8 commit 7eb4a36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion procmon_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func (p *ProcessMonitor) MonitorProcesses(errc chan error) {
if len(workingDirectory) == 0 {
workingDirectory = "/home/runner"
}
r, _ := flags.Parse(fmt.Sprintf("-a exit,always -F dir=%s -F perm=wa -S open -S openat -S rename -S renameat -k %s", workingDirectory, fileMonitorTag))
//r, _ := flags.Parse(fmt.Sprintf("-a exit,always -F dir=%s -F perm=wa -S open -S openat -S rename -S renameat -k %s", workingDirectory, fileMonitorTag))
r, _ := flags.Parse(fmt.Sprintf("-w %s -p w -k %s", workingDirectory, fileMonitorTag))

actualBytes, _ := rule.Build(r)

Expand Down

0 comments on commit 7eb4a36

Please sign in to comment.