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

tetragon: Add support to pass options through spec #1626

Merged
merged 6 commits into from
Oct 30, 2023

Commits on Oct 29, 2023

  1. tetragon: Remove GenericTracepointConf type

    Removing GenericTracepointConf type as a cleanup, because that
    abstraction is not actually needed anywhere.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    a0e810a View commit details
    Browse the repository at this point in the history
  2. tetragon: Add options into spec

    Adding possibility to specify option for the set.
    
    It's an array of name/value pairs and it's meant to be
    processed and interpreted by each sensor.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    16c1338 View commit details
    Browse the repository at this point in the history
  3. tetragon: Pass whole spec to createGenericKprobeSensor

    We are about to pass options to createGenericKprobeSensor function,
    so it's better the function takes the whole spec poitner rather
    than adding another function argument.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    d5dbc03 View commit details
    Browse the repository at this point in the history
  4. tetragon: Add support to pass options for spec

    Adding support to process options passed in spec for kprobe sensor.
    
    At the moment the only supported option is to disable kprobe multi
    (like with --disable-kprobe-multi option).
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    01f3ae8 View commit details
    Browse the repository at this point in the history
  5. tetragon: Switch off kprobe multi via spec in security_ test

    We can now localy disable kprobe multi, let's use it for
    security_ override test, which won't work with kprobe multi.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    4135e9d View commit details
    Browse the repository at this point in the history
  6. tetragon: Add documentation for options

    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    c9a7614 View commit details
    Browse the repository at this point in the history