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

internal: export BPFMapCreate syscall wrapper #325

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

rgo3
Copy link
Contributor

@rgo3 rgo3 commented Jun 15, 2021

This commit allows the BPFMapCreate syscall wrapper and BPFMapCreateAttr
type to be used by other subpackages of the library while not publicly
exporting them.

As discussed in #235 this will help me to move the code in #321 into its own subpackage.
To keep the PR small, I only addressed the function and type I need for now.

Signed-off-by: Robin Gögge r.goegge@outlook.com

syscalls.go Outdated Show resolved Hide resolved
This commit allows the BPFMapCreate syscall wrapper and BPFMapCreateAttr
type to be used by other subpackages of the library while not publicly
exporting them.

Signed-off-by: Robin Gögge <r.goegge@outlook.com>
@rgo3 rgo3 force-pushed the export-map-syscall-wrappers branch from 42c53bc to 076bcba Compare June 15, 2021 13:16
@rgo3 rgo3 marked this pull request as ready for review June 15, 2021 13:18
@lmb lmb merged commit 9fa2ce5 into cilium:master Jun 15, 2021
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.

None yet

2 participants