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

cleanup(sinsp): create new methods to handle syscall return values #2139

Merged
merged 9 commits into from
Nov 8, 2024

Commits on Nov 8, 2024

  1. new: add a new helper method has_return_value

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    0b899b5 View commit details
    Browse the repository at this point in the history
  2. new: add a new helper in scap

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    465ed7f View commit details
    Browse the repository at this point in the history
  3. new: add a new helper in sinsp

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    78dc091 View commit details
    Browse the repository at this point in the history
  4. cleanup: use the new get_syscall_return_value

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    f10a924 View commit details
    Browse the repository at this point in the history
  5. cleanup: rewrite extract_error_count using new logic

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    a18ada3 View commit details
    Browse the repository at this point in the history
  6. cleanup: remove duplicated logic

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    3f1d030 View commit details
    Browse the repository at this point in the history
  7. cleanup: use exception instead of assertion

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    44fe697 View commit details
    Browse the repository at this point in the history
  8. fix: use get_syscall_return_value when allowed

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    87d8845 View commit details
    Browse the repository at this point in the history
  9. cleanup: inline some methods

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    55f8625 View commit details
    Browse the repository at this point in the history