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

Audit errno (ab)uses #244

Open
evelikov opened this issue Nov 15, 2024 · 0 comments
Open

Audit errno (ab)uses #244

evelikov opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@evelikov
Copy link
Collaborator

As mentioned in #240 there are places were we set errno only to never check it. Glancing around we also have instances that set it, where it can be returned directly via the function.

So let try to:

  • list all instances which set errno
  • remove instances which are not used by libkmod nor libc
  • use a simpler way to propagate the error, if available
@evelikov evelikov added enhancement New feature or request good first issue Good for newcomers labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant