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: fsconfig support #606

Merged
merged 19 commits into from
Sep 19, 2022
Merged

new: fsconfig support #606

merged 19 commits into from
Sep 19, 2022

Commits on Sep 19, 2022

  1. new(driver): added fsconfig to event_table.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    bf1d424 View commit details
    Browse the repository at this point in the history
  2. update(driver,userspace/libscap): added PPM_SC_FSCONFIG and updated s…

    …yscall table.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    40ff9db View commit details
    Browse the repository at this point in the history
  3. chore(driver): added new filler to fillers_table.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    9dcd420 View commit details
    Browse the repository at this point in the history
  4. new(driver/bpf): old bpf probe impl.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    7b121ae View commit details
    Browse the repository at this point in the history
  5. new(driver): implemented in kmod.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    3dd7cb7 View commit details
    Browse the repository at this point in the history
  6. update(driver): split fsconfig value param into param_ptr and `…

    …param_str`.
    
    This allows finer and better control over what we push to userspace from drivers.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    0cbf5c0 View commit details
    Browse the repository at this point in the history
  7. chore(driver, test): implemented in modern_bpf.

    Signed-off-by: Federico Di Pierro <[email protected]>
    
    Co-authored-by: Andrea Terzolo <[email protected]>
    Andreagit97 authored and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    df71467 View commit details
    Browse the repository at this point in the history
  8. fix(test): fixed modern_bpf test case.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    a3fdd71 View commit details
    Browse the repository at this point in the history
  9. update(modern_bpf): refactor the code and add a test

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 authored and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    98ba582 View commit details
    Browse the repository at this point in the history
  10. update(bpf): refactor bpf side

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 authored and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    6e977cc View commit details
    Browse the repository at this point in the history
  11. update(kmod): refactor kmod side

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 authored and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    c6db747 View commit details
    Browse the repository at this point in the history
  12. fix(bpf): change the return type in bpf

    Signed-off-by: Andrea Terzolo <[email protected]>
    Co-authored-by: Federico Di Pierro <[email protected]>
    Andreagit97 and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    f48930a View commit details
    Browse the repository at this point in the history
  13. test(modern_bpf): fix fsconfig test

    Signed-off-by: Andrea Terzolo <[email protected]>
    Co-authored-by: Federico Di Pierro <[email protected]>
    Andreagit97 and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    40f7a19 View commit details
    Browse the repository at this point in the history
  14. fix(bpf): avoid E2BIG errors on old kernels

    Signed-off-by: Andrea Terzolo <[email protected]>
    Andreagit97 authored and FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    81edf04 View commit details
    Browse the repository at this point in the history
  15. update(test/modern_bpf): fixed an ifdef check

    Co-authored-by: Andrea Terzolo <[email protected]>
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP and Andreagit97 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    68284a3 View commit details
    Browse the repository at this point in the history
  16. fix(driver,userspace/libscap): fixed event_table and syscall_info_tab…

    …le flags.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    
    Co-authored-by: Jason Dellaluce <[email protected]>
    FedeDP and jasondellaluce committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    1b0221f View commit details
    Browse the repository at this point in the history
  17. chore(driver): dropped EF_WRITES_TO_FD from fsconfig and `io_uring_…

    …enter` events.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    d47aa80 View commit details
    Browse the repository at this point in the history
  18. chore(driver): added EC_SYSCALL category flag to fsconfig.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    8ce9fbe View commit details
    Browse the repository at this point in the history
  19. chore: bump number of syscall events expected by tests.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    6e83ce9 View commit details
    Browse the repository at this point in the history