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

Add detailed errors for missing Linux syscalls #69

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

cd-work
Copy link
Collaborator

@cd-work cd-work commented Feb 7, 2024

This patch adds extra handling for I/O errors of the "Unsupported" kind, explicitly pointing out Birdcage's minimum Kernel version for missing system calls.

See phylum-dev/cli#1350.

This patch adds extra handling for I/O errors of the "Unsupported" kind,
explicitly pointing out Birdcage's minimum Kernel version for missing
system calls.

See phylum-dev/cli#1350.
src/error.rs Show resolved Hide resolved
@cd-work cd-work requested a review from maxrake February 7, 2024 19:13
Copy link
Contributor

@maxrake maxrake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an improvement. It is understood that the minimum supported kernel version is not a known constant, given the myriad environments this library could operate within. However, updating documentation to at least provide some additional guidance about why these types of errors could appear and what might be possible to correct them is still desired. That is the other part of the linked issue - phylum-dev/cli#1350 - and may be accomplished in separate PRs.

Copy link
Contributor

@kylewillmon kylewillmon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cd-work cd-work merged commit 58dd5b6 into main Feb 7, 2024
10 checks passed
@cd-work cd-work deleted the better_incompatibility_errors branch February 7, 2024 20:36
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.

3 participants