Skip to content

Conversation

@alan-maguire
Copy link
Member

bpftune bpf initialization steps in macros in libbpftune.h (macros being used since bpf skeletons use object names in data structures) need to return status as without that we drive on if open/load/attach fail and this can trigger segmentation faults.

…attach,init]

we need to know if a phase fails as driving on in the face of failure
can lead to segmentation faults.

Signed-off-by: Alan Maguire <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 11, 2023
@alan-maguire alan-maguire merged commit c8fd455 into main Jul 11, 2023
@cappelikan cappelikan mentioned this pull request Jul 13, 2023
@alan-maguire alan-maguire deleted the status-return branch December 2, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant