Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log only successful syscalls by default, add command line option to log all syscalls #17

Closed
3 tasks done
krs85 opened this issue Dec 8, 2020 · 0 comments
Closed
3 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@krs85
Copy link
Contributor

krs85 commented Dec 8, 2020

It can be very noisy (and arguably not useful) to track every syscall. It would be useful to be able to toggle between logging all syscalls and logging only ones that succeed. I'm going to add a command line option to opt into seeing all syscalls, and the default will be to only log calls that succeed.

  • Add command line argument
  • Add the logic to skip failed execve in the main event loop of execution.rs
  • Handle this for open, openat, and creat.
@krs85 krs85 self-assigned this Dec 8, 2020
@krs85 krs85 added the enhancement New feature or request label Dec 8, 2020
@krs85 krs85 changed the title Log only successful execve calls by default, add command line option to log all execve calls Log only successful syscalls by default, add command line option to log all syscalls Dec 18, 2020
@krs85 krs85 closed this as completed Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant