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

new(libsinsp,driver): add evt.is_open_create syscall event field #1299

Merged
merged 19 commits into from
Aug 25, 2023

Commits on Aug 24, 2023

  1. new(userspace/libsinsp): add evt.is_open_create syscall event field

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    f2166bf View commit details
    Browse the repository at this point in the history
  2. new(driver): add fix_created_flags check for kmod

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    92c368d View commit details
    Browse the repository at this point in the history
  3. new(driver): add bpf_fix_created_flag for ebpf probe

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    accbe89 View commit details
    Browse the repository at this point in the history
  4. clean(libsinsp): optimize filtercheck extract cases

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    34013db View commit details
    Browse the repository at this point in the history
  5. fix(libsinsp): correct evt.is_open_create event description

    Co-authored-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian and incertum committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    d33f1e7 View commit details
    Browse the repository at this point in the history
  6. new(driver): update flags if file created on open

    -
    
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    Co-authored-by: Ofer Heifetz <oheifetz@gmail.com>
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian and oheifetz committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    0893600 View commit details
    Browse the repository at this point in the history
  7. fix(driver): store flags in bpf auxmap after updating them

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    bf9f641 View commit details
    Browse the repository at this point in the history
  8. fix(driver): do not use new flag on old kernel

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    315effc View commit details
    Browse the repository at this point in the history
  9. fix(test/e2e): expect new created flag on event

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    6310111 View commit details
    Browse the repository at this point in the history
  10. new(driver): add get_fd_fmode_created helper functions

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    fae6580 View commit details
    Browse the repository at this point in the history
  11. fix(libsinsp): correct is_open events description

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    cfaf0ed View commit details
    Browse the repository at this point in the history
  12. tests: add a new test to check open modes

    Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    Andreagit97 authored and mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    479d6ac View commit details
    Browse the repository at this point in the history
  13. test: add a new sinsp test to assert the correct population of fdinfo

    Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    Andreagit97 authored and mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    97106f2 View commit details
    Browse the repository at this point in the history
  14. fix(driver): do not reuse flags variable for scap repr

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    1eac570 View commit details
    Browse the repository at this point in the history
  15. new(driver): add tests to check open modes for openat/openat2

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a9a5653 View commit details
    Browse the repository at this point in the history
  16. fix(libsinsp): keep file mode created flag if present

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    2d72c72 View commit details
    Browse the repository at this point in the history
  17. fix(driver): wrong file mode created flag check

    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    81a1d6d View commit details
    Browse the repository at this point in the history
  18. fix(test): solve EVT_FILTER_is_open_create failing test on emscripten

    Co-authored-by: Andrea Terzolo <andrea.terzolo@polito.it>
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian and Andreagit97 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    304d128 View commit details
    Browse the repository at this point in the history
  19. new(libsinsp): set is_open_create to true if temp file is created

    Co-authored-by: Andrea Terzolo <andrea.terzolo@polito.it>
    Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
    mrgian and Andreagit97 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    8296493 View commit details
    Browse the repository at this point in the history