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

Skeleton headers for host isolation #130

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stanek-michal
Copy link
Contributor

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.

@stanek-michal stanek-michal requested a review from a team August 25, 2022 16:19
@@ -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)
Copy link
Contributor Author

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.

@lrishi lrishi force-pushed the host_isolation_skeleton_headers branch from e74a59d to 04ac43d Compare August 25, 2022 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants