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

allow users to opt-out of fallbacks #19

Open
cyphar opened this issue Dec 29, 2019 · 1 comment
Open

allow users to opt-out of fallbacks #19

cyphar opened this issue Dec 29, 2019 · 1 comment
Labels
api/cffi Related to the C-FFI API. api/rust Related to the Rust API. security A security issue or hardening problem.
Milestone

Comments

@cyphar
Copy link
Member

cyphar commented Dec 29, 2019

One of the problems exposed by research into #7 is that there are a lot of issues with safe /proc usage on older kernels (and many more kernel features are still required). We cannot error out by default if these features are not available (nobody will use libpathrs because it won't work on most systems). So we have to make it an opt-in for very security-conscious programs (or to allow a program to print a warning if the system is insecure, and then enable the less-secure lookups).

@cyphar cyphar added api/cffi Related to the C-FFI API. security A security issue or hardening problem. api/rust Related to the Rust API. labels Dec 29, 2019
@cyphar cyphar mentioned this issue Dec 29, 2019
5 tasks
@cyphar cyphar added this to the 0.2.0 milestone Sep 11, 2024
@cyphar
Copy link
Member Author

cyphar commented Sep 11, 2024

One particular fallback we almost certainly want to avoid is when STATX_MNT_ID is missing with the procfs resolver -- the current fallback is unsafe.

@cyphar cyphar modified the milestones: 0.2.0, 0.3.0 Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/cffi Related to the C-FFI API. api/rust Related to the Rust API. security A security issue or hardening problem.
Projects
None yet
Development

No branches or pull requests

1 participant