-
Notifications
You must be signed in to change notification settings - Fork 11
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
Skeleton headers for host isolation #130
base: main
Are you sure you want to change the base?
Conversation
@@ -405,7 +405,8 @@ int ebpf_set_verbose_logging() | |||
|
|||
int ebpf_event_ctx__new(struct ebpf_event_ctx **ctx, | |||
ebpf_event_handler_fn cb, | |||
struct ebpf_event_ctx_opts opts) | |||
struct ebpf_event_ctx_opts opts, | |||
bool dry_run) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This addition doesn't really change functionality but I wanted to make this option more explicit in the code to prevent bugs or relying on a certain behavior in the function. We did in fact had bugs like this in this function before. The Host Isolation version of this also has a dryRun parameter.
Co-authored-by: Lovel Rishi <[email protected]>
e74a59d
to
04ac43d
Compare
Changes required to use skeleton headers for host isolation.
It is still possible to use
*bpf.o
files and the Host Isolation demos continue to use those.